Question: estimator_2 = DecisionTreeClassifier( ccp_alpha='__________', class_weight={0: 0.15, 1: 0.85}, random_state=1 ## Complete the code by adding the correct ccp_alpha value ) estimator_2.fit(X_train, y_train)
estimator_2 = DecisionTreeClassifier( ccp_alpha='__________', class_weight={0: 0.15, 1: 0.85}, random_state=1 ## Complete the code by adding the correct ccp_alpha value ) estimator_2.fit(X_train, y_train)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
