Click or drag to resize
Accord.NET (logo)

DiscretizationTInput, TOutputOptionsLearn Method (DataTable, Double)

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

Namespace:  Accord.Statistics.Filters
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public DiscretizationTInput, TOutputOptions Learn(
	DataTable x,
	double[] weights = null
)
Request Example View Source

Parameters

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

Return Value

Type: DiscretizationTInput, TOutputOptions
A model that has learned how to produce suitable outputs given the input data x.
Exceptions
ExceptionCondition
ArgumentExceptionWeights are not supported and should be null.
See Also