Successive Halving Classifier for Hyperparameter tuning- HoeffdingTreeClassifier #589
-
I'm trying to perform hyperparameter tuning on the HoeffdingTreeClassifier using the Successive Halving Classifier. Ive used the formula budget = ( 2kn/eta ) to calculate the budjet, where k = no of parameter combinations, n = no of samples in the dataset, eta = 2. The no of samples in the dataset are 64 The following is my code to defining the succesive Halving Classifier: sh = expert.SuccessiveHalvingClassifier(models=param_grid2, Please help me rectify the error. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hello! Could you please provide a minimal reproducible example that we can run? At a minimum please format your post to make it legible :) |
Beta Was this translation helpful? Give feedback.
-
Have you figured this out by yourself? I checked just now and code was wrong in a lot of ways. You generated a grid parameters but you didn't use it to instantiate models so of course it won't work. |
Beta Was this translation helpful? Give feedback.
Have you figured this out by yourself? I checked just now and code was wrong in a lot of ways. You generated a grid parameters but you didn't use it to instantiate models so of course it won't work.