GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - catboost/tutorials: CatBoost tutorials repository

BranchesTags
Open more actions menu

Latest commit

 

History

207 Commits
207 Commits

Folders and files

NameName
Last commit message
Last commit date
apply_model
apply_model
 
 
categorical_features
categorical_features
 
 
classification
classification
 
 
cmdline_tutorial
cmdline_tutorial
 
 
competition_examples
competition_examples
 
 
cross_validation
cross_validation
 
 
custom_loss
custom_loss
 
 
events
events
 
 
example_usages
example_usages
 
 
feature_penalties
feature_penalties
 
 
feature_selection
feature_selection
 
 
hyperparameters_tuning
hyperparameters_tuning
 
 
leaf_indexes_calculation
leaf_indexes_calculation
 
 
metrics
metrics
 
 
model_analysis
model_analysis
 
 
ranking
ranking
 
 
regression
regression
 
 
ru
ru
 
 
text_features
text_features
 
 
tools
tools
 
 
uncertainty
uncertainty
 
 
.mapping.json
.mapping.json
 
 
.piglet-meta.json
.piglet-meta.json
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
cmdline_tutorial.md
cmdline_tutorial.md
 
 
python_tutorial.ipynb
python_tutorial.ipynb
 
 
python_tutorial_with_tasks.ipynb
python_tutorial_with_tasks.ipynb
 
 
r_tutorial.ipynb
r_tutorial.ipynb
 
 

Repository files navigation

CatBoost tutorials

Basic

It's better to start CatBoost exploring from this basic tutorials.

Python

  • Python Tutorial
    • This tutorial shows some base cases of using CatBoost, such as model training, cross-validation and predicting, as well as some useful features like early stopping, snapshot support, feature importances and parameters tuning.
  • Python Tutorial with task
    • There are 17 questions in this tutorial. Try answering all of them, this will help you to learn how to use the library.

R

  • R Tutorial
    • This tutorial shows how to convert your data to CatBoost Pool, how to train a model and how to make cross validation and parameter tunning.

Command line

  • Command Line Tutorial
    • This tutorial shows how to train and apply model with the command line tool.

Classification

  • Classification Tutorial
    • Here is an example for CatBoost to solve binary classification and multi-classification problems.

Ranking

  • Ranking Tutorial
    • CatBoost is learning to rank on Microsoft dataset (msrank).

Feature selection

  • Feature selection Tutorial
    • This tutorial shows how to make feature evaluation with CatBoost and explore learning rate.

Model analysis

  • Object Importance Tutorial

    • This tutorial shows how to evaluate importances of the train objects for test objects, and how to detect broken train objects by using the importance scores.
  • SHAP Values Tutorial

    • This tutorial shows how to use SHAP python-package to get and visualize feature importances.
  • Export CatBoost Model in JSON format Tutorial

    • This tutorial shows how to save catboost model in JSON format and apply it.
  • Visualization of CatBoost decision trees tutorial

    • This tutorial shows how to visualize catboost decision trees.
  • Feature statistics tutorial

    • This tutorial shows how to calculate feature statistics for catboost model.
  • CatBoost PredictionDiff Feature Importance Tutorial

    • This tutorials shows how to use PredictionDiff feature importances.

Custom metrics and losses

  • Custom Metrics and Losses in C++ Tutorial

    • This tutorial shows how to add custom per-object metrics and objective functions in C++ native code.
  • Custom Metrics and Losses in Python Tutorial

    • This tutorial shows how to add custom per-object metrics and objective functions in Python.

Apply model

  • CatBoost CoreML Tutorial

    • Explore this tutorial to learn how to convert CatBoost model to CoreML format and use it on any iOS device.
  • Export CatBoost Model as C++ code Tutorial

    • Catboost model could be saved as standalone C++ code.
  • Export CatBoost Model as Python code Tutorial

    • Catboost model could be saved as standalone Python code.
  • Apply CatBoost model from Java

    • Explore how to apply CatBoost model from Java application. If you just want to look at code snippets you can go directly to CatBoost4jPredictionTutorial.java
  • Apply CatBoost model from Rust

    • Explore how to apply CatBoost model from Rust application. If you just want to look at code snippets you can go directly to main.rs
  • Convert LightGBM to CatBoost to use CatBoost fast appliers

    • Convert LightGBM to CatBoost, save resulting CatBoost model and use CatBoost C++, Python, C# or other applier, which in case of not symmetric trees will be around 7-10 faster than native LightGBM one.
    • Note that CatBoost applier with CatBoost models is even faster, because it uses specific fast symmetric trees.

Tools

  • Gradient Boosting: CPU vs GPU

    • This is a basic tutorial which shows how to run gradient boosting on CPU and GPU on Google Colaboratory.
  • Regression on Gradient Boosting: CPU vs GPU

    • This is a basic tutorial which shows how to run regression on gradient boosting on CPU and GPU on Google Colaboratory.

Competition examples

  • Kaggle Paribas Competition Tutorial

    • This tutorial shows how to get to a 9th place on Kaggle Paribas competition with only few lines of code and training a CatBoost model.
  • ML Boot Camp V Competition Tutorial

    • This is an actual 7th place solution by Mikhail Pershin. Solution is very simple and is based on CatBoost.
  • CatBoost & TensorFlow Tutorial

    • This tutorial shows how to use CatBoost together with TensorFlow on Kaggle Quora Question Pairs competition if you have text as input data.

Events

  • PyData Moscow tutorial

    • Tutorial from PyData Moscow, October 13, 2018.
  • PyData NYC tutorial

    • Tutorial from PyData New York, October 19, 2018.
  • PyData LA tutorial

    • Tutorial from PyData Los Angeles, October 21, 2018.
  • PyData Moscow tutorial

    • Tutorial from PyData Moscow, April 27, 2019.
  • PyData London tutorial

    • Tutorial from PyData London, June 15, 2019.
  • PyData Boston tutorial

    • Tutorial from PyData Boston, April 30, 2019.

Tutorials in Russian

  • Find tutorials in Russian on the separate page.

About

CatBoost tutorials repository

Topics

catboostipythonipython-notebookkaggletitanic-datasettutorials

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1.1k stars

Watchers

35 watching

Forks

423 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.