Never Forget Another Line of Code

Datasnips is a free code snippet hosting platform for Data Science & AI. It enables your code snippets to be organized, searchable & shareable.

Never Forget Another Line of Code

Datasnips is a free code snippet hosting platform for Data Science & AI. It enables your code snippets to be organized, searchable & shareable.

LOGIN
PUBLIC SNIPPETS
LATEST SNIPPETS
TOP SNIPPETS
SNIPPET COLLECTIONS
ML CODE BUILDER
BLOG
POPULAR TAGS
#XGBOOST
#LIGHTGBM
#CATBOOST
#TENSORFLOW
#PANDAS
#MATPLOTLIB
#SEABORN
LOGIN
PUBLIC SNIPPETS
LATEST SNIPPETS
TOP SNIPPETS
SNIPPET COLLECTIONS
ML CODE BUILDER
BLOG

Snippet Collections

Collections of popular snippets grouped by themes and use cases.

Data Preprocessing with Pandas

A collection of data preprocessing code snippets to prepare tabular data using Pandas for analysis, machine learning or visualisation

Classification with SciKit-Learn

Code snippets for building a range of classification machine learning models using SciKit-Learn

Regression with SciKit-Learn

Code snippets for building a range of regression machine learning models using SciKit-Learn

Data Preparation For Machine Learning

Code snippets for preparing data for machine learning

Classification With XGBoost, CatBoost & LightGBM

Snippets for training classification models with XGBoost, CatBoost & LightGBM

Regression With XGBoost, CatBoost & LightGBM

Code snippets for training regression models with XGBoost, CatBoost and LightGBM

Evaluating Machine Learning Models

Code snippets for evaluation classification and regression machine learning models

Unsupervised Learning With SciKit-Learn

Code for training unsupervised machine learning models with SciKit-Learn

We use cookies to improve the experience of using our website. By using Datasnips you agree to our privacy policy including our cookie policy