Click or drag to resize
Accord.NET (logo)

DecisionRule Constructor (IListDecisionVariable, Double, IEnumerableAntecedent)

Initializes a new instance of the DecisionRule class.

Namespace:  Accord.MachineLearning.DecisionTrees.Rules
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public DecisionRule(
	IList<DecisionVariable> variables,
	double output,
	IEnumerable<Antecedent> antecedents
)
Request Example View Source

Parameters

variables
Type: System.Collections.GenericIListDecisionVariable
The decision variables handled by this decision rule.
output
Type: SystemDouble
The output value, given after all antecedents are met.
antecedents
Type: System.Collections.GenericIEnumerableAntecedent
The antecedent conditions that lead to the output.
See Also