DecisionTree Methods |
The DecisionTree type exposes the following members.
Name | Description | |
---|---|---|
Compute(Double) | Obsolete.
Deprecated. Please use the Decide() method instead.
| |
Compute(Int32) | Obsolete.
Deprecated. Please use the Decide() method instead.
| |
Compute(Int32) | Obsolete.
Deprecated. Please use the Decide() method instead.
| |
Compute(Double, DecisionNode) | Obsolete.
Deprecated. Please use the Decide() method instead.
| |
Decide(TInput) |
Computes class-label decisions for a given set of input vectors.
(Inherited from ClassifierBaseTInput, TClasses.) | |
Decide(Int32) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Double) |
Computes the tree decision for a given input.
(Overrides ClassifierBaseTInput, TClassesDecide(TInput).) | |
Decide(Int32) |
Computes the tree decision for a given input.
(Overrides MulticlassClassifierBaseDecide(Int32).) | |
Decide(NullableInt32) |
Computes the tree decision for a given input.
| |
Decide(NullableInt32) |
Computes the tree decision for a given input.
| |
Decide(TInput, TClasses) |
Computes a class-label decision for a given input.
(Inherited from ClassifierBaseTInput, TClasses.) | |
Decide(Int32, Boolean) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Int32, Double) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Int32, Int32) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Int32, Boolean) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Int32, Double) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Int32, Double) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Int32, Int32) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Int32, Int32) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single, Boolean) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single, Double) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single, Int32) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single, Boolean) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single, Double) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single, Double) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single, Int32) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(Single, Int32) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBase.) | |
Decide(TInput, Boolean) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBaseTInput.) | |
Decide(TInput, Double) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBaseTInput.) | |
Decide(TInput, Int32) |
Computes class-label decisions for the given input.
(Inherited from MulticlassClassifierBaseTInput.) | |
Decide(TInput, Double) |
Computes a class-label decision for a given input.
(Inherited from MulticlassClassifierBaseTInput.) | |
Decide(Double, DecisionNode) |
Computes the tree decision for a given input.
| |
Decide(NullableInt32, DecisionNode) |
Computes the tree decision for a given input.
| |
Decide(NullableInt32, Int32) |
Computes the tree decision for a given input.
| |
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 tree.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHeight |
Computes the height of the tree, defined as the
greatest distance (in links) between the tree's
root node and its leaves.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load(Stream) | Obsolete.
Obsolete. Please use LoadT(Stream, SerializerCompression).
| |
Load(String) | Obsolete.
Obsolete. Please use LoadT(String).
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save(Stream) | Obsolete.
Obsolete. Please use SaveT(T, Stream, SerializerCompression) (or use it as an extension method).
| |
Save(String) | Obsolete.
Obsolete. Please use SaveT(T, String) (or use it as an extension method).
| |
ToAssembly(String, String) |
Creates a .NET assembly (.dll) containing a static class of
the given name implementing the decision tree. The class will
contain a single static Compute method implementing the tree.
| |
ToAssembly(String, String, String) |
Creates a .NET assembly (.dll) containing a static class of
the given name implementing the decision tree. The class will
contain a single static Compute method implementing the tree.
| |
ToCode(String) |
Generates a C# class implementing the decision tree.
| |
ToCode(TextWriter, String) |
Generates a C# class implementing the decision tree.
| |
ToExpression |
Creates an Expression Tree representation
of this decision tree, which can in turn be compiled into code.
| |
ToMultilabel |
Views this instance as a multi-label classifier,
giving access to more advanced methods, such as the prediction
of one-hot vectors.
(Inherited from MulticlassClassifierBaseTInput.) | |
ToRules |
Transforms the tree into a set of decision rules.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Transform(TInput) |
Applies the transformation to an input, producing an associated output.
(Inherited from ClassifierBaseTInput, TClasses.) | |
Transform(Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(TInput) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
(Inherited from TransformBaseTInput, TOutput.) | |
Transform(TInput, TClasses) |
Applies the transformation to an input, producing an associated output.
(Inherited from ClassifierBaseTInput, TClasses.) | |
Transform(Int32, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Int32, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Int32, Boolean) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Int32, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Int32, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Int32, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Int32, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Boolean) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Boolean) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(Single, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBase.) | |
Transform(TInput, Boolean) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBaseTInput.) | |
Transform(TInput, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBaseTInput.) | |
Transform(TInput, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBaseTInput.) | |
Transform(TInput, Boolean) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBaseTInput.) | |
Transform(TInput, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBaseTInput.) | |
Transform(TInput, Double) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBaseTInput.) | |
Transform(TInput, Int32) |
Applies the transformation to an input, producing an associated output.
(Inherited from MulticlassClassifierBaseTInput.) | |
Traverse(DecisionTreeTraversalMethod) |
Traverse the tree using a tree
traversal method. Can be iterated with a foreach loop.
| |
Traverse(DecisionTreeTraversalMethod, DecisionNode) |
Traverse a subtree using a tree
traversal method. Can be iterated with a foreach loop.
|
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.) | |
SetEqualsDecisionNode |
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.) | |
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.) |