|
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
)
Public Sub Add (
columnName As String,
rule As Expression(Of Func(Of TInput, Boolean)),
output As Expression(Of Func(Of TInput, TOutput))
)
Request Example
View SourceParameters
- 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