Harish Nagpal
1 min readOct 6, 2020

--

In your last code, you mentioned about catboost but in code the estimator is xgboost. Not sure if its typo

Applying the K-Fold Cross Validation for CatBoost

from sklearn.model_selection import cross_val_score

accuracies = cross_val_score(estimator = xgboost, X = X_train, y = y_train, cv = 10)

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Harish Nagpal
Harish Nagpal

Written by Harish Nagpal

An IT professional, passionate about art in all forms — data, nature, paintings and visual art. Linkedln — https://www.linkedin.com/in/harish-nagpal-8696529/

Responses (1)

Write a response