NoSubModels

scalation.modeling.NoSubModels
trait NoSubModels

The NoSubModel trait is for modeling techniques that do not support building sub-models/feature selection (adding/remove variables from the model). For example, SimpleRegression only has one feature/predictor variable, so feature selection makes no sense for this modeling technique.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def buildModel(x_cols: MatrixD, fname2: Array[String] = ...): Predictor & Fit

Build a sub-model that is restricted to the given columns of the data matrix. Must be implemented for models that support feature selection. NOT SUPPORTED for this model, so throw an EXCEPTION.

Build a sub-model that is restricted to the given columns of the data matrix. Must be implemented for models that support feature selection. NOT SUPPORTED for this model, so throw an EXCEPTION.

Value parameters

fname2

the variable/feature names for the new model (defaults to null)

x_cols

the columns that the new model is restricted to

Attributes

Return the best model found from feature selection.

Return the best model found from feature selection.

Attributes