Last active
August 26, 2022 19:07
-
-
Save JarrydWannenburg/ead8e888f38f22f580e7ca59ba7d85dc to your computer and use it in GitHub Desktop.
Scalable_Pipeline_Article
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
import pandas as pd | |
import numpy as np | |
from sklearn.base import BaseEstimator, TransformerMixin | |
from sklearn.compose import ColumnTransformer, make_column_selector as Selector | |
from sklearn.decomposition import PCA | |
from sklearn.experimental import enable_iterative_imputer | |
from sklearn.impute import IterativeImputer, SimpleImputer | |
from sklearn.svm import SVC | |
from sklearn.feature_selection import SelectKBest, chi2 | |
from sklearn.model_selection import train_test_split, GridSearchCV | |
from sklearn.preprocessing import StandardScaler, OneHotEncoder, OrdinalEncoder | |
from sklearn.pipeline import Pipeline, FeatureUnion | |
df = pd.read_csv('./data/train.csv') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment