import ibis_ml as ml
imputer = ml.ImputeMean(ml.numeric())
@@ -266,14 +266,14 @@ Create your first
rec = ml.Recipe(imputer, scaler)
A recipe can be chained in a Pipeline like any other transformer.
+
from sklearn.pipeline import Pipeline
from sklearn.svm import SVC
pipe = Pipeline([("rec", rec), ("svc", SVC())])The pipeline can be used as any other estimator and avoids leaking the test set into the train set.
-
+
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
diff --git a/reference/support-matrix/index.html b/reference/support-matrix/index.html
index e19a134..cda6279 100644
--- a/reference/support-matrix/index.html
+++ b/reference/support-matrix/index.html
@@ -299,7 +299,7 @@
-
+
@@ -469,9 +469,9 @@