Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[skip ci] removing redundant imports
  • Loading branch information
Neeratyoy committed Oct 23, 2020
commit e6e4bbdf4e46efdd130a065b313b1842470158b3
5 changes: 1 addition & 4 deletions examples/30_extended/run_setup_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@

import numpy as np
import openml
import sklearn.ensemble
import sklearn.impute
import sklearn.preprocessing
from sklearn.pipeline import make_pipeline, Pipeline
from sklearn.compose import ColumnTransformer
from sklearn.impute import SimpleImputer
Expand Down Expand Up @@ -77,7 +74,7 @@ def cat(X):
TruncatedSVD(),
)
ct = ColumnTransformer([("cat", cat_imp, cat), ("cont", "passthrough", cont)])
model_original = sklearn.pipeline.Pipeline(
model_original = Pipeline(
steps=[("transform", ct), ("estimator", HistGradientBoostingClassifier()),]
)

Expand Down