DecisionBranchNodeCollection Class |
Namespace: Accord.MachineLearning.DecisionTrees
[SerializableAttribute] public class DecisionBranchNodeCollection : Collection<DecisionNode>
The DecisionBranchNodeCollection type exposes the following members.
Name | Description | |
---|---|---|
DecisionBranchNodeCollection | Obsolete.
Initializes a new instance of the DecisionBranchNodeCollection class.
| |
DecisionBranchNodeCollection(DecisionNode) |
Initializes a new instance of the DecisionBranchNodeCollection class.
| |
DecisionBranchNodeCollection(Int32, DecisionNode) | Obsolete.
Initializes a new instance of the DecisionBranchNodeCollection class.
|
Name | Description | |
---|---|---|
Attribute |
Gets the attribute that is being used in
this stage of the decision process, given
by the current AttributeIndex | |
AttributeIndex |
Gets or sets the index of the attribute to be
used in this stage of the decision process.
| |
Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionDecisionNode.) | |
Item | Gets or sets the element at the specified index. (Inherited from CollectionDecisionNode.) | |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionDecisionNode.) | |
Owner |
Gets or sets the decision node that contains this collection.
|
Name | Description | |
---|---|---|
Add | Adds an object to the end of the CollectionT. (Inherited from CollectionDecisionNode.) | |
AddRange |
Adds the elements of the specified collection to the end of the collection.
| |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionDecisionNode.) | |
ClearItems | Removes all elements from the CollectionT. (Inherited from CollectionDecisionNode.) | |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionDecisionNode.) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionDecisionNode.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionDecisionNode.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionDecisionNode.) | |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionDecisionNode.) | |
InsertItem | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionDecisionNode.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionDecisionNode.) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionDecisionNode.) | |
RemoveItem | Removes the element at the specified index of the CollectionT. (Inherited from CollectionDecisionNode.) | |
SetItem | Replaces the element at the specified index. (Inherited from CollectionDecisionNode.) | |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |