Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created February 4, 2021 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/8ca6c8dfc1fe2d8ab02628474e1fc1e5 to your computer and use it in GitHub Desktop.
Save amankharwal/8ca6c8dfc1fe2d8ab02628474e1fc1e5 to your computer and use it in GitHub Desktop.
import pandas as pd
from pandas.api.types import is_numeric_dtype
from sklearn.model_selection import train_test_split
!pip install catboost
import catboost as cb
from sklearn.metrics import classification_report
import matplotlib.pyplot as plt
import seaborn as sns
data = pd.read_csv('https://gist.githubusercontent.com/amankharwal/f4c03b6e26c80d8b526f8f44ce717840/raw/fa71405126017e6a37bea592440b4bee94bf7b9e/titanic.csv')
data.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment