Skip to content

Instantly share code, notes, and snippets.

@shayaf84
Last active June 19, 2021 01:56
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 shayaf84/2d131a5a4b7e4ae66f3c405ccedc99b6 to your computer and use it in GitHub Desktop.
Save shayaf84/2d131a5a4b7e4ae66f3c405ccedc99b6 to your computer and use it in GitHub Desktop.
# Packages used
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
from imblearn.over_sampling import BorderlineSMOTE
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import precision_score, recall_score, f1_score, confusion_matrix
from sklearn.linear_model import LogisticRegression
from google.colab import drive
# Mount the google drive, as data is stored there
drive.mount('/content/drive/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment