Model Input Group Class
Represents a group of variables with a specific purpose
in a statistical or machine learning model.
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public class ModelInputGroup
- Inheritance
- Object → ModelInputGroup
Remarks
Use the ModelInputGroup class to work with a group of variables as a unit. The ModelInput class defines groups for features and targets (independent and dependent variables, respectively), weights, groupings, and custom groups.
Properties
Category | Gets the category of variables the group contains. |
Data | Gets or sets the data frame like object that supplies the data for the input group. |
Expanded | Gets the collection of actual terms represented by the schema. |
Has | Gets whether data has been supplied for the group. |
Schema | Gets the schema for the model input group. |
Methods
Add | Adds an intercept term to the group. |
AsCategorical | Returns a representation of the data as an untyped categorical vector in accordance with a specification. |
AsCategorical | Returns a representation of the data as an array of categorical vectors in accordance with a specification. |
AsMatrix<T> | Returns a matrix representation of the data in accordance with a specification. |
AsRow | Returns a representation of the data as an array of row vectors in accordance with a specification. |
AsVector<T> | Returns a vector representation of the data in accordance with a specification. |
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 | Gets the encoding of the specified variable. |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Infer | Sets the model input group's schema to a single term with the specified key and unknown type. |
Infer | Sets the model input group's schema to a collection of terms with the specified keys. |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Populate( | Populates the model input group from a sequence of categorical vectors. |
Populate( | Populates the model input group from the specified vector. |
Populate( | Populates the model input group using the specified data frame and column key. |
Populate( | Populates the model input group using the specified data frame and column keys. |
Populate( | Populates the model input group from a sequence of vectors. |
Populate( | Populates the model input group from the specified vector. |
Populate( | Populates the model input group using the specified data frame and column keys. |
Populate( | Populates the model input group using the specified matrix. |
Populate( | Populates the model input group using the specified data frame, optionally clearing the group's schema first. |
Remove | Returns a new model input group that has redundant constant columns removed. |
Remove | Removes an intercept term from the group. |
Set | Sets the encoding of the specified variable. |
ToString | Returns a string that represents the current object. (Inherited from Object) |