Click or drag to resize
Accord.NET (logo)

DecisionRule Constructor (IListDecisionVariable, Double, Antecedent)

Initializes a new instance of the DecisionRule class.

Namespace:  Accord.MachineLearning.DecisionTrees.Rules
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.7.0
Syntax
public DecisionRule(
	IList<DecisionVariable> variables,
	double output,
	params 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: Accord.MachineLearning.DecisionTrees.RulesAntecedent
The antecedent conditions that lead to the output.
See Also