Last active
October 14, 2022 09:27
-
-
Save kingabzpro/bac4a3062afc2b7ac26b5aa21af8b19c to your computer and use it in GitHub Desktop.
Ensemble Learning with examples
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
# Utility | |
import pandas as pd | |
import numpy as np | |
from sklearn.model_selection import train_test_split | |
from sklearn.metrics import roc_auc_score,accuracy_score | |
from sklearn.preprocessing import StandardScaler | |
# machine learning | |
from sklearn.ensemble import RandomForestClassifier | |
from sklearn.linear_model import LogisticRegression, SGDClassifier | |
#seed | |
seed = 40 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment