Find the the parameters resulting in the minimal results for a given evaluation measure (2D)
Declaring type: GridSearch
Namespace: MyMediaLite.Util
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static double FindMinimum (
        string evaluation_measure,
        string hp_name1,
        string hp_name2,
        double[] hp_values1,
        double[] hp_values2,
        RatingPredictor recommender,
        Utils.task training_delegate,
        ISplit<IRatings> split
) 
Parameters
evaluation_measure
the name of the evaluation measure
hp_name1
the name of the first hyperparameter to optimize
hp_name2
the name of the second hyperparameter to optimize
hp_values1
the values of the first hyperparameter to try out
hp_values2
the values of the second hyperparameter to try out
recommender
the recommender
training_delegate
the delegate to call for training
split
the dataset split to use
Return Value
the best (lowest) average value for the hyperparameter
Collapse/Expand Remarks
The recommender will be set to the best parameter value after calling this method.