ICategorical Vector Interface
Represents the common methods and properties for indexed collections that contain categorical data.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public interface ICategoricalVector : IVector,
IGrouping
Properties
Category | Gets the index containing the categories. |
Count |
Gets the number of groups.
(Inherited from IGrouping) |
Element |
Gets the element type of the vector.
(Inherited from IVector) |
Encoding | Gets or sets the encoding used when creating indicator variables. |
Format |
Gets a format string used when formatting elements of the vector.
(Inherited from IVector) |
Index |
Gets the index of the object.
(Inherited from IVector) Preliminary |
Length |
Gets the length of the vector.
(Inherited from IVector) |
Level | Gets a vector that contains the level indexes of the elements. |
Level | Gets a vector that contains the level indexes of the elements. |
Name |
Gets the name of the object.
(Inherited from IVector) Preliminary |
Methods
Aggregate |
Aggregates the specified vector over each group and returns the result.
(Inherited from IGrouping) |
Aggregate |
Aggregates the specified vector over each group and returns the result.
(Inherited from IGrouping) |
Aggregate |
Aggregates the specified vector over each group and returns the result.
(Inherited from IGrouping) |
Aggregate |
Aggregates the specified vector over each group and returns the result.
(Inherited from IGrouping) |
Append |
Appends a vector at the end of this vector and returns the result.
(Inherited from IVector) |
Append |
Appends the specified number of missing values to this vector
and returns the result.
(Inherited from IVector) |
As<U> |
Returns the object as a strongly typed vector of the specified type.
(Inherited from IVector) |
AsCategorical |
Converts the vector to a categorical vector.
(Inherited from IVector) |
Get |
Returns a histogram of the number of observations in each group.
(Inherited from IGrouping) |
Get |
Gets a sequence of indexes for the grouping.
(Inherited from IGrouping) |
Get |
Returns a new object that contains the values at the specified positions.
(Inherited from IVector) |
Get |
Gets the value at the specified index.
(Inherited from IVector) |
Get |
Returns a new object that contains the values at the specified positions.
(Inherited from IVector) |
Get |
Returns a new object that contains the values at the specified positions.
(Inherited from IVector) |
IsMissing |
Indicates whether the value at the specified index is missing.
(Inherited from IVector) |
Protect |
Returns a shallow read-only copy of the vector.
(Inherited from IVector) |
Replace |
Replaces all missing values in a vector with the previous or next non-missing value.
(Inherited from IVector) |
Sort |
Returns a permutation that can be used to sort the data in the vector in the specified order.
(Inherited from IVector) |
With | Constructs a new categorical vector using the specified category index. |
Extension Methods
Bin<T> |
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector) |
Bin<T> |
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector) |
Create |
Returns a histogram of the counts for each value in a vector.
(Defined by Histogram) |
Unstack<R, C> |
Transforms a vector with a two-level index into a data frame whose columns
correspond to the second level in the index.
(Defined by DataFrame) |
Use |
Specifies that backward difference encoding should be used when creating indicator variables.
(Defined by VectorExtensions) |
Use |
Specifies that deviance encoding should be used when creating indicator variables.
(Defined by VectorExtensions) |
Use |
Specifies that dummy encoding (also called treatment encoding) should be used when creating indicator variables.
(Defined by VectorExtensions) |
Use |
Specifies that forward difference encoding should be used when creating indicator variables.
(Defined by VectorExtensions) |
Use |
Specifies that Helmert encoding should be used when creating indicator variables.
(Defined by VectorExtensions) |
Use |
Specifies that inverse Helmert encoding should be used when creating indicator variables.
(Defined by VectorExtensions) |
Use |
Specifies that orthogonal polynomial encoding should be used when creating indicator variables.
(Defined by VectorExtensions) |
Use |
Specifies that simple encoding should be used when creating indicator variables.
(Defined by VectorExtensions) |