We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have resolved an error in the provided sklearn lesson file. Below is my updated code along with the corrected data splitting after preprocessing:
X_train, X_test, y_train, y_test = train_test_split(X_transform_df, y, test_size=0.2, random_state=5)
grid_cv = GridSearchCV(estimator=model, param_grid=param, cv=5, verbose=2) grid_cv.fit(X_train, y_train)
y_preds = grid_cv.predict(X_test) evaluation_metrics(y_test, y_preds)
You can also access the IPython Notebook containing the complete code and execution results updated-Notebook.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have resolved an error in the provided sklearn lesson file. Below is my updated code along with the corrected data splitting after preprocessing:
Corrected data splitting after preprocessing
Fit and score the model
You can also access the IPython Notebook containing the complete code and execution results updated-Notebook.
The text was updated successfully, but these errors were encountered: