Click or drag to resize
Accord.NET (logo)

BaseBagOfVisualWordsTModel, TPoint, TFeature, TClustering, TDetectorLearn Method (Bitmap, Double)

Learns a model that can map the given inputs to the desired outputs.

Namespace:  Accord.Imaging
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.7.0
Syntax
public TModel Learn(
	Bitmap[] x,
	double[] weights = null
)
Request Example View Source

Parameters

x
Type: System.DrawingBitmap
The model inputs.
weights (Optional)
Type: SystemDouble
The weight of importance for each input sample.

Return Value

Type: TModel
A model that has learned how to produce suitable outputs given the input data x.

Implements

IUnsupervisedLearningTModel, TInput, TOutputLearn(TInput, Double)
IUnsupervisedLearningTModel, TInput, TOutputLearn(TInput, Double)
See Also