Model Input 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#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
Dependent |
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). |
Independent |
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
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Populate( | Populates the groups using the specified data frame. |
Populate( | Populates the groups using the specified vectors and matrices. |
Populate | Populates the groups using the specified data frame based on the specified formula. |
ToString | Returns a string that represents the current object. (Inherited from Object) |