|
ProbabilisticOutputCalibrationBaseTModel, TKernel, TInputLearn Method (TInput, Boolean, Double)
|
Learns a model that can map the given inputs to the given outputs.
Namespace:
Accord.MachineLearning.VectorMachines.Learning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntaxpublic override TModel Learn(
TInput[] inputs,
bool[] outputs,
double[] weights
)
Public Overrides Function Learn (
inputs As TInput(),
outputs As Boolean(),
weights As Double()
) As TModel
Request Example
View SourceParameters
- inputs
- Type: TInput
The model inputs. - outputs
- Type: SystemBoolean
The desired outputs associated with each inputs. - weights
- Type: SystemDouble
The weight of importance for each input-output pair (if supported by the learning algorithm).
Return Value
Type:
TModelA model that has learned how to produce
outputs given
inputs.
Implements
ISupervisedLearningTModel, TInput, TOutputLearn(TInput, TOutput, Double)
See Also