we have X_train, y_train, x_test, y_test values. Use grid_search to apply hyperparameter tuning on decision tree classif

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

we have X_train, y_train, x_test, y_test values. Use grid_search to apply hyperparameter tuning on decision tree classif

Post by answerhappygod »

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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply