Model Term Collection Class
Represents a collection of terms in a model specification.
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 sealed class ModelTermCollection : ModelTerm,
IList<ModelTerm>, ICollection<ModelTerm>, IEnumerable<ModelTerm>,
IEnumerable
- Implements
- ICollection<ModelTerm>, IEnumerable<ModelTerm>, IList<ModelTerm>, IEnumerable
Remarks
Use the ModelTermCollection class to represent a term in a model specification that consists of the union of two or more terms. The most common use is as the right-hand side of a model specification.
Constructors
Model | Constructs a new model term collection with the specified capacity. |
Model | Constructs a new collection from the specified terms. |
Model | Constructs a new collection from a single term. |
Properties
Children |
Returns a list of child terms referenced by this term.
(Overrides ModelTerm.Children) |
Column |
Returns the number of numerical columns the term maps to.
(Inherited from ModelTerm) |
Columns |
Enumerates the numerical columns the term maps to.
(Inherited from ModelTerm) |
Count | Gets the number of terms in the collection. |
IsBound |
Gets whether all the variables in the term
are bound to a column in a data frame.
(Overrides ModelTerm.IsBound) |
IsReducible |
Gets whether the term can be reduced to a derived term
or set of terms.
(Inherited from ModelTerm) |
Item | Gets or sets the element at the specified index. |
Kind |
Returns the kind of term.
(Overrides ModelTerm.Kind) |
Methods
Add | Adds a model term to the collection. |
Add | Adds an expression term to the collection. |
Add | Adds a new polynomial term to the collection. |
Add | Adds a sequence of model terms to the collection. |
Add | Adds a categorical term to the collection. |
Bind |
Returns a new model term whose variables
are bound to the specified data frame.
(Inherited from ModelTerm) |
Compare |
Compares this term to another one.
(Inherited from ModelTerm) |
Contains | Returns whether the collection contains the specified term. |
Equals( |
Returns whether one model term equals another.
(Inherited from ModelTerm) |
Equals( | 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.
(Overrides ModelTerm.Expand(Boolean, Boolean)) |
Expand |
Expands the term into a collection of primitive numerical terms.
(Inherited from ModelTerm) |
Expand |
Expands the term into a collection of primitive numerical terms.
(Inherited from ModelTerm) |
Get | Returns an enumerator that iterates over the terms in the collection. |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Returns the index of column names for the terms in the collection. |
Get | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Overrides Object.ToString()) |
Extension Methods
Group<ModelTerm> |
Returns a grouping by the unique elements in a list.
(Defined by Grouping) |
Group<ModelTerm> |
Returns a grouping by the unique elements in a sequence.
(Defined by Grouping) |
Group<ModelTerm> |
Returns a grouping by the unique elements in a list
using the specified comparer to determine equality.
(Defined by Grouping) |
Group<ModelTerm> |
Returns a grouping by the unique elements in a sequence
using the specified comparer to determine equality.
(Defined by Grouping) |
Sum<ModelTerm> |
Computes the sum of the sequence of values.
(Defined by ArrayMath) |
Sum<ModelTerm, U> |
Computes the sum of the sequence of values that are obtained
by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath) |