You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the first cell in the section, and it contains only the HalvingRandomSearchCV import. It seems like the cell is out of order and should contain actual code using the HalvingRandomSearchCV class.
How about adding the following two cells after the RandomizedSearchCV cells:
The execution of the first cell would generate a lot of warnings as e.g. the resource savings in the form of reducing the training set may not be adequate for the candidate being tested. One example I ran into was inside the KMeans fit function, where the number of clusters exceeded the number of training set data points.
The second cell is identical to previous cells that display the search results, only with the “dropna()” at the end. Whenever there is an error trying to fit a candidate as described above, the associated score appearing in the results are “nan”, leading the attempt to round the numerical results to fail.
The text was updated successfully, but these errors were encountered:
Notebook name: 02_end_to_end_machine_learning_project
Section 5.2 “Randomized Search”
Cell 152
This is the first cell in the section, and it contains only the HalvingRandomSearchCV import. It seems like the cell is out of order and should contain actual code using the HalvingRandomSearchCV class.
How about adding the following two cells after the RandomizedSearchCV cells:
A couple of notes:
The execution of the first cell would generate a lot of warnings as e.g. the resource savings in the form of reducing the training set may not be adequate for the candidate being tested. One example I ran into was inside the KMeans fit function, where the number of clusters exceeded the number of training set data points.
The second cell is identical to previous cells that display the search results, only with the “dropna()” at the end. Whenever there is an error trying to fit a candidate as described above, the associated score appearing in the results are “nan”, leading the attempt to round the numerical results to fail.
The text was updated successfully, but these errors were encountered: