we have X_train, y_train, x_test, y_test values.
Use grid_search to apply hyperparameter tuning on decision tree
classifier with max_depth = 3, 5, 7, 9, and 11 and also cross
validation is 5. Scoring Parameter is "recall". Plot the validation
performance metrics. They are on y axis. x axis can be belong to
max_depth values.
Can you write with python which makes decision tree classifier
and which shows errors by plotting them. PROVIDE A NEW SOLUTION, DO
NOT COPY PASTE BEFORE ANSWERS.
we have X_train, y_train, x_test, y_test values. Use grid_search to apply hyperparameter tuning on decision tree classif
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am