ModelInput Class

Represents the (possibly incomplete) training input to a statistical or machine learning model.

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public class ModelInput
Inheritance
Object  →  ModelInput

Remarks

Use the ModelInput class to collect all information that serves as training input to a model in one place.

The information in a ModelInput may be incomplete. It may even be completely empty. When the model is fitted, any information in the ModelInput is combined with the supplied data to produce the prepared fitting data (design matrix).

Properties

DependentVariables Gets the input group that contains the dependent variable(s).
Obsolete.
Features Gets the input group that contains the features.
Grouping Gets the input group that contains the grouping variable(s).
IndependentVariables Gets the input group that contains the dependent variable(s).
Obsolete.
Item[Slice] Returns a new model input containing only the specified rows.
Item[Vector<Boolean>] Returns a new model input containing only the specified rows.
Item[Vector<Int32>] Returns a new model input containing only the specified rows.
Offsets Gets the input group that contains the offset variable(s).
Targets Gets the input group that contains the features.
Weights Gets the input group that contains the weights.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Populate(IDataFrame) Populates the groups using the specified data frame.
Populate(Vector<Double>, Matrix<Double>, Boolean, Vector<Double>) Populates the groups using the specified vectors and matrices.
PopulateFromFormula Populates the groups using the specified data frame based on the specified formula.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also