text_plain_output_1.png
from sklearnex import patch_sklearn

import warnings

import numpy as np
import pandas as pd
import time
import gc
import warnings
warnings.filterwarnings('ignore')
from sklearnex import patch_sklearn
patch_sklearn()
import sklearn
from sklearn.experimental import enable_iterative_imputer
from sklearn.base import clone, TransformerMixin, BaseEstimator
from sklearn.metrics import roc_auc_score
from sklearn.utils.extmath import softmax
from sklearn.preprocessing import RobustScaler, MinMaxScaler, StandardScaler
from category_encoders import OneHotEncoder, WOEEncoder
from sklearn.impute import SimpleImputer, IterativeImputer, KNNImputer, MissingIndicator
from sklearn.pipeline import make_pipeline
from sklearn.compose import make_column_transformer, make_column_selector
from sklearn.preprocessing import FunctionTransformer
from sklearn.linear_model import LogisticRegression, PassiveAggressiveClassifier
from sklearn.linear_model import SGDClassifier, RidgeClassifier
from sklearn.linear_model import BayesianRidge, Ridge, Lasso, HuberRegressor
from sklearn.neighbors import KNeighborsClassifier
from sklearn.neural_network import MLPClassifier
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis
from sklearn.naive_bayes import BernoulliNB, GaussianNB, MultinomialNB
from sklearn.svm import LinearSVC
from sklearn.tree import DecisionTreeClassifier, ExtraTreeClassifier
from xgboost import XGBClassifier, XGBRegressor, XGBRFClassifier
from lightgbm import LGBMClassifier, LGBMRegressor
from catboost import CatBoostClassifier
from sklearn.ensemble import AdaBoostClassifier, BaggingClassifier
from sklearn.ensemble import GradientBoostingClassifier, GradientBoostingRegressor
from sklearn.ensemble import ExtraTreesClassifier, ExtraTreesRegressor
from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor
from sklearn.ensemble import HistGradientBoostingClassifier