ModelCustom: ModelCustom

Description Usage Arguments Format Value Public fields

Description

A ModelCustom class.

print method.

an abstract method. Once implemented it should accept newdata as the first argument and returns a numeric() vector or a data.frame() that contains the predicted probabilities calculated using self$params and newdata.

summary method.

Usage

1
2
3
4
5
## S3 method for class 'ModelCustom'
predict(object, newdata, ...)

## S3 method for class 'ModelCustom'
summary(object, ...)

Arguments

object

a ModelCustom object

newdata

a data.frame/data.table

...

not being used.

Format

an R6::R6Class class inheriting from Model.

Value

prediction

summary

Public fields


dymium-org/dymiumCore documentation built on July 18, 2021, 5:10 p.m.