Model Class
Represents a statistical 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 abstract class Model : ISummarizable,
IParallelized
- Inheritance
- Object → Model
- Derived
- Implements
- IParallelized, ISummarizable
Remarks
This is an abstract base class and cannot be instantiated directly. Instead, use one of the inherited types, as listed in the table below:
Class | Description |
---|---|
One | One way between subjects analysis of variance. |
One | One way within subjects analysis of variance |
Two | Two way between subjects analysis of variance. |
Simple | A simple linear regression model with one independent variable. |
Linear | A multiple linear regression model with multiple independent variables. |
Note to inheritors: When you inherit from Model, you must override FitCore(ModelInput, ParallelOptions).
Constructors
Model | Constructs a new statistical model. |
Properties
Base | Gets an index containing the keys of the columns that are required inputs to the model. |
Computed |
Gets whether the model has been computed.
Obsolete. |
Data | Gets an object that contains all the data used as input to the model. |
Fitted | Gets whether the model has been computed. |
Input | Gets the schema for the features used for fitting the model. |
Max | Gets or sets the maximum degree of parallelism enabled by this instance. |
Model | Gets the collection of variables used in the model. |
Number | Gets the number of observations the model is based on. |
Parallel | Gets or sets an object that specifies how the calculation of the model should be parallelized. |
Status | Gets the status of the model, which determines which information is available. |
Supports | Indicates whether the model supports case weights. |
Weights | Gets or sets the actual weights. |
Methods
Compute() |
Computes the model.
Obsolete. |
Compute( |
Computes the model.
Obsolete. |
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) |
Fit() | Fits the model to the data. |
Fit( | Fits the model to the data. |
Fit | Computes the model to the specified input using the specified parallelization options. |
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) |
Reset |
Clears all fitted model parameters.
Obsolete. |
Reset | Clears all fitted model parameters. |
Set | Uses the specified data frame as the source for all input variables. |
Summarize() | Returns a string containing a human-readable summary of the object using default options. |
Summarize( | Returns a string containing a human-readable summary of the object using the specified options. |
ToString | Returns a string that represents the current object. (Overrides Object.ToString()) |
Fields
Empty | Represents a model with no parameters. |