Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created October 10, 2020 07:52
Show Gist options
  • Save amankharwal/aa7ca5992e9293902e2feab7b247d7d2 to your computer and use it in GitHub Desktop.
Save amankharwal/aa7ca5992e9293902e2feab7b247d7d2 to your computer and use it in GitHub Desktop.
import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
import matplotlib.pyplot as plt
import matplotlib as mpl
import os
from sklearn_pandas import CategoricalImputer
from sklearn import preprocessing
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.metrics import classification_report,confusion_matrix
from sklearn.ensemble import RandomForestClassifier
from sklearn.tree import DecisionTreeClassifier
from sklearn.metrics import accuracy_score
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment