ModelTerm Methods

Methods

Bind Returns a new model term whose variables are bound to the specified data frame.
Categorical Returns a categorical term with the specified key, category index, and encoding scheme.
CompareTo Compares this term to another one.
Difference Creates a model term that represents the difference between two terms.
Equals(ModelTerm) Returns whether one model term equals another.
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Expand Expands the model term into a term that contains only primitive terms.
ExpandToCategorical Expands the term into a collection of primitive numerical terms.
ExpandToNumerical Expands the term into a collection of primitive numerical terms.
Expression<U> Returns a model term based on an expression that uses the specified variables.
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)
Interaction(ModelTerm[]) Creates an interaction between multiple terms.
Interaction(ModelTerm, ModelTerm) Creates an interaction between two terms.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Model Creates a model term that represents the difference between two terms.
Numerical(String) Adds a numerical term with the specified key.
Numerical(IIndex, Boolean) Returns a collection of model terms for the columns with the specified keys in an index.
Numerical(Int32, String, Boolean, Int32) Returns a collection of numerical terms with keys generated from the specified prefix.
Polynomial(ModelTerm, Int32) Creates a model term that represents a polynomial in the specified term.
Polynomial(String, Int32) Constructs a term corresponding to a polynomial.
Product Creates a model term that represents the complete interaction between two terms.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Union Creates a union of multiple terms.
Variable(String) Returns a model term with the specified key.
Variable(IDataFrame, String) Returns a model term for the column with the specified key in the data source.
Variables(IList<String>, Boolean) Returns a collection of model terms for the columns with the specified keys.
Variables(IDataFrame, String[], Boolean) Returns a collection of model terms for the columns with the specified keys in a data frame.

See Also