|
OneVsRestLearningTInput, TBinary, TModelConfigureT, TResult Method (FuncT, TResult)
|
Sets a callback function that takes a set of parameters and creates
a learning algorithm for learning each of the binary inner classifiers
needed by the one-vs-rest classification strategy. Calling this method
sets the
Learner property.
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public void Configure<T, TResult>(
Func<T, TResult> learner
)
where T : InnerParameters<TBinary, TInput>
where TResult : Object, ISupervisedLearning<TBinary, TInput, bool>
Public Sub Configure(Of T As InnerParameters(Of TBinary, TInput), TResult As {Object, ISupervisedLearning(Of TBinary, TInput, Boolean)}) (
learner As Func(Of T, TResult)
)
Request Example
View SourceParameters
- learner
- Type: SystemFuncT, TResult
Type Parameters
- T
- TResult
See Also