DecisionTree Class |
Namespace: FinMath.MachineLearning
[SerializableAttribute] public class DecisionTree : ISerializable, IBaseClassifier
The DecisionTree type exposes the following members.
Name | Description | |
---|---|---|
DecisionTree |
The Decision tree default constructor.
| |
DecisionTree(SerializationInfo, StreamingContext) |
The object optimized deserialization method.
| |
DecisionTree(DecisionTreeBaseNode, IEnumerableInt32) |
Construct decision tree from the another root node.
|
Name | Description | |
---|---|---|
Classify(Matrix) |
Classifies the observation matrix.
| |
Classify(Vector) |
Classifies observation vector into one of the classes.
| |
Classify(Matrix, IntegerArray) |
Classifies the observation matrix.
| |
Clone |
Performs object deep copy.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData |
The object optimized serialization method.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load |
Load model from file.
| |
Save |
Save model to file.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Train(Matrix, IntegerArray) |
The BaseClassifier interface function.
| |
Train(Matrix, IntegerArray, IListDecisionTreeFactorType, Vector, Double, Int32, Boolean, Boolean, Boolean, RandomGenerator) |
Build the decision tree CART classifier.
|