Click or drag to resize
Accord.NET (logo)

DecisionSet Class

Decision rule set.
Inheritance Hierarchy

Namespace:  Accord.MachineLearning.DecisionTrees.Rules
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.7.0
public class DecisionSet : IEnumerable
Request Example View Source

The DecisionSet type exposes the following members.

Public propertyCount
Gets the number of rules in this set.
Public propertyOutputClasses
Gets the number of possible output classes covered by this decision set.
Public methodAdd
Adds a new DecisionRule to the set.
Public methodAddRange
Adds a collection of new DecisionRules to the set.
Public methodClear
Removes all rules from this set.
Public methodCompute
Computes the decision output for a given input.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromDecisionTree
Creates a new DecisionSet from a DecisionTree.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes a given rule from the set.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Public methodToString(CodificationString)
Returns a String that represents this instance.
Public methodToString(CodificationString, CultureInfo)
Returns a String that represents this instance.
Public methodToString(CodificationString, String, CultureInfo)
Returns a String that represents this instance.
Extension Methods
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodSetEqualsDecisionRule
Compares two enumerables for set equality. Two enumerables are set equal if they contain the same elements, but not necessarily in the same order.
(Defined by Matrix.)
Public Extension MethodToT
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.)
See Also