Classes Methods 
The Classes type exposes the following members.
Name  Description  

Decide(Double) 
Hyperplane decision function. Return true if distance
is higher than zero, and false otherwise.
 
Decide(Double) 
Hyperplane decision function. Return true if distance
is higher than zero, and false otherwise.
 
Decide(Double) 
Hyperplane decision function. Return true if distance
is higher than zero, and false otherwise.
 
Decide(Int32) 
Hyperplane decision function. Return true if distance
is higher than zero, and false otherwise.
 
Decide(Int32) 
Hyperplane decision function. Return true if distance
is higher than zero, and false otherwise.
 
Decide(Int32) 
Hyperplane decision function. Return true if distance
is higher than zero, and false otherwise.
 
Expand(Int32, Int32, Int32) 
Extends a grouped data into a full observation matrix.
 
Expand(Int32, Int32, Int32, Int32) 
Expands a grouped data into a full observation matrix.
 
GetRatio(Int32, Int32) 
Calculates the prevalence of a class for each variable.
 
GetRatio(Boolean, Int32, Int32) 
Gets the percentage of positive samples in a set of class labels.
 
GetRatio(Int32, Int32, Int32) 
Gets the percentage of positive samples in a set of class labels.
 
GetRatio(Int32, Int32, Int32) 
Calculates the prevalence of a class.
 
IsBinary 
Determines whether the class labels contains only (1 and +1) or (0 and +1).
 
IsMinusOnePlusOne 
Determines whether the class labels contains only 1 and +1.
 
IsMulticlass 
Determines whether the class labels contains one true value per sample.
 
IsMultilabel 
Determines whether the class labels contains one true value per sample.
 
IsZeroOne 
Determines whether the class labels contains only zero and ones.
 
Random(Int32, Double) 
Returns a random group assignment for a sample
into two mutually exclusive groups.
 
Random(Int32, Double) 
Returns a random group assignment for a sample.
 
Random(Int32, Int32) 
Returns a random group assignment for a sample.
 
Random(Int32, Double) 
Returns a random group assignment for a sample, making
sure different class labels are distributed evenly among
the groups.
 
Random(Int32, Int32) 
Returns a random group assignment for a sample, making
sure different class labels are distributed evenly among
the groups.
 
Random(Int32, Int32, Int32) 
Returns a random group assignment for a sample, making
sure different class labels are distributed evenly among
the groups.
 
SeparateT(T, Int32) 
Divides values into groups given a vector
containing the group labels for every value.
 
SeparateT(T, Int32, Int32) 
Divides values into groups given a vector
containing the group labels for every value.
 
Summarize 
Groups the occurrences contained in data matrix of binary (dichotomous) data.
This operation can be reversed using the Expand(Int32, Int32, Int32, Int32) method.
 
ToMinusOnePlusOne(Boolean) 
Converts a boolean variable into a 1 or +1 representation (1 is false, +1 is true).
 
ToMinusOnePlusOne(Boolean) 
Converts boolean variables into a 1 or +1 representation (1 is false, +1 is true).
 
ToMinusOnePlusOne(Boolean) 
Converts boolean variables into a 1 or +1 representation (1 is false, +1 is true).
 
ToMinusOnePlusOne(Double) 
Converts a boolean variable into a 1 or +1 representation (1 is false, +1 is true).
 
ToMinusOnePlusOne(Double) 
Converts boolean variables into a 1 or +1 representation (1 is false, +1 is true).
 
ToMinusOnePlusOne(Int32) 
Converts a boolean variable into a 1 or +1 representation (1 is false, +1 is true).
 
ToMinusOnePlusOne(Int32) 
Converts boolean variables into a 1 or +1 representation (1 is false, +1 is true).
 
ToMinusOnePlusOneT(Boolean) 
Converts boolean variables into a 1 or +1 representation (1 is false, +1 is true).
 
ToMulticlass(Double) 
Converts double variables into class labels, starting at zero.
 
ToMulticlass(Int32) 
Converts double variables into class labels, starting at zero.
 
ToMulticlass(Double, Int32) 
Converts double variables into class labels, starting at zero.
 
ToMulticlass(Int32, Int32) 
Converts double variables into class labels, starting at zero.
 
ToZeroOne(Boolean) 
Converts a boolean variable into a 0or1 representation (0 is false, 1 is true).
 
ToZeroOne(Boolean) 
Converts boolean variables into a 0or1 representation (0 is false, 1 is true).
 
ToZeroOne(Double) 
Converts a boolean variable into a 0or1 representation (0 is false, 1 is true).
 
ToZeroOne(Double) 
Converts boolean variables into a 0or1 representation (0 is false, 1 is true).
 
ToZeroOne(Int32) 
Converts a boolean variable into a 0or1 representation (0 is false, 1 is true).
 
ToZeroOne(Int32) 
Converts boolean variables into a 0or1 representation (0 is false, 1 is true).
