Click or drag to resize
Accord.NET (logo)

Antecedent Constructor

Creates a new instance of the Antecedent class.

Namespace:  Accord.MachineLearning.DecisionTrees.Rules
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.6.0
Syntax
public Antecedent(
	int index,
	ComparisonKind comparison,
	double value
)
Request Example View Source

Parameters

index
Type: SystemInt32
The variable index.
comparison
Type: Accord.MachineLearning.DecisionTreesComparisonKind
The comparison to be made using the value at index and value.
value
Type: SystemDouble
The value to be compared against.
See Also