-
Notifications
You must be signed in to change notification settings - Fork 86
Complete grid search params #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete grid search params #166
Conversation
I wanted to get this done before #165, since all of these search params will also require |
/// Tolerance for stopping epoch. | ||
pub tol: Vec<T>, | ||
/// The kernel function. | ||
pub kernel: Vec<K>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the one param that it's currently impossible to meaningfully utilize, since we can't have multiple different K in the same Vec, but we can address that with a follow up PR.
ok just remember we will need your help to port this over to the new paradigm with 108 (; |
I thought this would be orthogonal to the changes around arrays in 108, but happy to take a look if there is an issue. |
* Complete grid search params (#166) * grid search draft * hyperparam search for linear estimators * grid search for ensembles * support grid search for more algos * grid search for unsupervised algos * minor cleanup * Lmm/add seeds in more algorithms (#164) * Provide better output in flaky tests * feat: add seed parameter to multiple algorithms * Update changelog Co-authored-by: Luis Moreno <morenol@users.noreply.github.com> * add seed param to search params (#168) * make default params available to serde (#167) * add seed param to search params * make default params available to serde * lints * create defaults for enums * lint Co-authored-by: morenol <22335041+morenol@users.noreply.github.com> Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
* grid search draft * hyperparam search for linear estimators * grid search for ensembles * support grid search for more algos * grid search for unsupervised algos * minor cleanup
Follow up to #154, that similarly adds iterable *SearchParameters for the remaining algorithms, so that they can also be used with
hyper_tuning::grid_search()
.Eq
for SVM Kernel structs to make them testable with assert_eq!