linkedin / photon-ml

A scalable machine learning library on Apache Spark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples for hyperparameter tuning

qingquansong opened this issue · comments

Can we add some examples for using RandomSearch and BayesianOptimization functions to tune the GLMix models? Thanks!

Hi @qingquansong,
BayesianOptimization is no longer supported in Photon ML at this moment. The PR #454 aims at removing hyperparameter autotuning in this repo. Grid search is still supported as the default tuning method.

Thanks for the reply! Another examples for grid search? I saw that we can set a list of regularization parameter directly. But is that all we can tune?

Yes, that list is about a grid search. Once you specify a list of the regularization, a list of the models in the same length will be trained and you can find the best model in the output.

Just want to mention that you can specify regularization weights for each component of GLMix, such that [1, 2] for a fixed effects model, [1, 10] for a per-member model and [1, 100] for a per-job model. In this case photon-ml will do cross products and train 8 models in total.

Just want to mention that you can specify regularization weights for each component of GLMix, such that [1, 2] for a fixed effects model, [1, 10] for a per-member model and [1, 100] for a per-job model. In this case photon-ml will do cross products and train 8 models in total.

Thanks for the clarification!