C# 클래스 MyMediaLite.Util.NelderMead

Nealder-Mead algorithm for finding suitable hyperparameters
파일 보기 프로젝트 열기: zenogantner/MML-KDD

공개 메소드들

메소드 설명
FindMinimum ( string evaluation_measure, IList hp_names, IList initial_hp_values, RatingPredictor recommender, ISplit split ) : double

Find the the parameters resulting in the minimal results for a given evaluation measure

The recommender will be set to the best parameter value after calling this method.

FindMinimum ( string error_measure, RatingPredictor recommender ) : double

Find best hyperparameter (according to an error measure) using Nelder-Mead search

비공개 메소드들

메소드 설명
ComputeCenter ( double>.Dictionary results, Vector>.Dictionary hp_values ) : Vector
CreateConfigString ( IList hp_names, IList hp_values ) : string
Run ( RatingPredictor recommender, ISplit split, string hp_string, string evaluation_measure ) : double

메소드 상세

FindMinimum() 공개 정적인 메소드

Find the the parameters resulting in the minimal results for a given evaluation measure
The recommender will be set to the best parameter value after calling this method.
public static FindMinimum ( string evaluation_measure, IList hp_names, IList initial_hp_values, RatingPredictor recommender, ISplit split ) : double
evaluation_measure string the name of the evaluation measure
hp_names IList the names of the hyperparameters to optimize
initial_hp_values IList the values of the hyperparameters to try out first
recommender MyMediaLite.RatingPrediction.RatingPredictor the recommender
split ISplit the dataset split to use
리턴 double

FindMinimum() 공개 정적인 메소드

Find best hyperparameter (according to an error measure) using Nelder-Mead search
public static FindMinimum ( string error_measure, RatingPredictor recommender ) : double
error_measure string an error measure (lower is better)
recommender MyMediaLite.RatingPrediction.RatingPredictor a rating predictor (will be set to best hyperparameter combination)
리턴 double