Created
May 25, 2022 13:46
-
-
Save srang992/05d54d36b915dee6dd57712a205b2a20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for data manipulation | |
import sqlite3 | |
import pandas as pd | |
import numpy as np | |
# for visualization | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
# for handing imbalanced data | |
from imblearn.over_sampling import SMOTE | |
# for data splitting, transforming and model training | |
from sklearn.model_selection import train_test_split | |
from sklearn.preprocessing import StandardScaler | |
from sklearn.compose import ColumnTransformer | |
from sklearn.linear_model import LogisticRegression | |
# for model evaluation | |
from sklearn.metrics import classification_report, ConfusionMatrixDisplay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment