|
BaseBagOfWordsTModel, TPoint, TFeature, TClustering, TExtractor, TInputLearn Method (TInput, Double)
|
Learns a model that can map the given inputs to the desired outputs.
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public TModel Learn(
TInput[] x,
double[] weights = null
)
Public Function Learn (
x As TInput(),
Optional weights As Double() = Nothing
) As TModel
Request Example
View SourceParameters
- x
- Type: TInput
The model inputs. - weights (Optional)
- Type: SystemDouble
The weight of importance for each input sample.
Return Value
Type:
TModelA model that has learned how to produce suitable outputs
given the input data
x.
See Also