Skip to content
Snippets Groups Projects
Verified Commit f24593fa authored by Yannick DAYER's avatar Yannick DAYER
Browse files

doc(doctest): fix PCA pipeline results.

parent 74335a1b
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,8 @@ Below is a quick example on how to make a pipeline out of two Estimators:
>>> pipeline = make_pipeline(StandardScaler(), PCA())
>>> pipeline = pipeline.fit([[0, 0], [0, 0], [2, 2]])
>>> pipeline.transform([[0, 1], [2, 1]])
array([[-0.25, 0.75],
[ 1.25, -0.75]])
array([[-0.25, -0.75],
[ 1.25, 0.75]])
The issue with scikit-learn pipelines
-------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment