Description Usage Arguments Format Value Public fields
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.
1 2 3 4 5 |
object |
a ModelCustom object |
newdata |
a data.frame/data.table |
... |
not being used. |
an R6::R6Class class inheriting from Model.
prediction
summary
params
:: named numeric()
A named numeric vector containing parameter values of the model object.
type
:: character(1)
Type of the model.
formula
:: formula()
Model formula.
terms
:: character(1)
terms of the model. This gets generated using stats::terms
on formula
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.