The DTree type exposes the following members.

Constructors

  NameDescription
DTree
Create a default decision tree

Methods

  NameDescription
Clear
Clear the statistic model
(Inherited from StatModel.)
Dispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
DisposeObject
Release the decision tree and all the memory associate with it
(Overrides DisposableObject..::.DisposeObject()()().)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Destructor
(Inherited from DisposableObject.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Load
Load the statistic model from file
(Inherited from StatModel.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Predict
The method takes the feature vector and the optional missing measurement mask on input, traverses the decision tree and returns the reached leaf node on output. The prediction result, either the class label or the estimated function value, may be retrieved as value field of the CvDTreeNode structure
ReleaseManagedResources
Release the managed resouces. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Save
Save the statistic model to file
(Inherited from StatModel.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Train
Train the decision tree using the specific traning data

Fields

  NameDescription
_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)

Properties

  NameDescription
Ptr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)

See Also