Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please i am an error in this code # testing performance comparison models _ test _ comp _ df = pd . concat ( [

please i am an error in this code # testing performance comparison
models_test_comp_df = pd.concat(
[
decision_tree_perf_test.
decision_tree_tune_perf_test.
decision_tree_post_test.
]
axis=1,
)
models_test_comp_df.columns =[
"Decision Tree sklearn",
"Decision Tree (Pre-Pruning)",
"Decision Tree (Post-Pruning)",
]
print("Test set performance comparison:")
models_test_comp_df

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions