Click or drag to resize
Accord.NET (logo)

DiscretizationTInput, TOutputAdd Method (String, ExpressionFuncTInput, Boolean, ExpressionFuncTInput, TOutput)

Adds the specified matching rule to a column.

Namespace:  Accord.Statistics.Filters
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public void Add(
	string columnName,
	Expression<Func<TInput, bool>> rule,
	Expression<Func<TInput, TOutput>> output
)
Request Example View Source

Parameters

columnName
Type: SystemString
Name of the column.
rule
Type: System.Linq.ExpressionsExpressionFuncTInput, Boolean
The rule.
output
Type: System.Linq.ExpressionsExpressionFuncTInput, TOutput
The output that should be generated whenever a data sample matches with the rule.
See Also