RTrees Methods |
The RTrees type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the random tree and all memory associate with it
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | (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.) |
![]() | GetVotes |
Returns the result of each individual tree in the forest.
In case the model is a regression problem, the method will return each of the trees'
results for each of the sample cases.If the model is a classifier, it will return
a Mat with samples + 1 rows, where the first row gives the class number and the
following rows return the votes each class had for each sample.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReleaseManagedResources |
Release the managed resources. 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.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Clear |
Clear the algorithm
(Defined by AlgorithmExtensions.) |
![]() | GetDefaultName |
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
(Defined by AlgorithmExtensions.) |
![]() | IsEmpty |
Returns true if the Algorithm is empty. e.g. in the very beginning or after unsuccessful read.
(Defined by AlgorithmExtensions.) |
![]() | Load |
Loads algorithm from the file
(Defined by AlgorithmExtensions.) |
![]() | LoadFromString |
Loads algorithm from a String
(Defined by AlgorithmExtensions.) |
![]() | Predict |
Predicts response(s) for the provided sample(s)
(Defined by StatModelExtensions.) |
![]() | Read |
Reads algorithm parameters from a file storage.
(Defined by AlgorithmExtensions.) |
![]() | Save |
Save the algorithm to file
(Defined by AlgorithmExtensions.) |
![]() | SaveToString |
Save the algorithm to a string
(Defined by AlgorithmExtensions.) |
![]() | Train(TrainData, Int32) | Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.) |
![]() | Train(IInputArray, DataLayoutType, IInputArray) | Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.) |
![]() | Write(FileStorage) | Overloaded.
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.) |
![]() | Write(FileStorage, String) | Overloaded.
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.) |