MODEL-class: Abstract Model Class

MODEL-classR Documentation

Abstract Model Class

Description

Reference Class MODEL is the highest level of herarchy in a series of classes defined in the rml package. All transformers, classifiers, regressors and survival models inherit from this class.

Fields

name

character containing name of the model

type

character containing model type. Specifies transformer type

package

character specifies name of the package model is using

package_language

character specifies programming language of the package either R or Python.

description

character descripbes what the model is.

config

list containing all parameters and settings of the model. Values depend on the model class.

fitted

logical specifies if the model is fitted (trained) or not

transformers

list containing all transformer objects. Each transformer is an instance inheriting from MODEL class.

gradient_transformers

list containing all gradient transformer objects. Each gradient transformer is an instance inheriting from MODEL class.

yin_transformers

list of functions.

yout_transformers

list of functions.

objects

list containing additional data

objects$features

data.frame containing list of features and their characteristics. This table is created after fitting the model.

objects$fitting_time

POSIXct containing time when the model's training is complete. Created after the model is fitted.


genpack/maler documentation built on Jan. 27, 2025, 1:23 p.m.