Click or drag to resize
Accord.NET (logo)

GridSearchTModelCompute Method (GridSearchParameterCollection, Double)

Searches for the best combination of parameters that results in the most accurate model.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public TModel Compute(
	out GridSearchParameterCollection bestParameters,
	out double error
)
Request Example View Source

Parameters

bestParameters
Type: Accord.MachineLearningGridSearchParameterCollection
The best combination of parameters found by the grid search.
error
Type: SystemDouble
The minimum error of the best model found by the grid search.

Return Value

Type: TModel
The best model found during the grid search.
See Also