Click or drag to resize
Accord.NET (logo)

DecisionNodeCompute Method (Double)

Computes whether a value satisfies the condition imposed by this node.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public bool Compute(
	double x
)
Request Example View Source

Parameters

x
Type: SystemDouble
The value x.

Return Value

Type: Boolean
true if the value satisfies this node's condition; otherwise, false.
See Also