Skip to content

Commit

Permalink
Merge pull request tensorflow#1615 from dongjoon-hyun/fix_pipeline_ex…
Browse files Browse the repository at this point in the history
…ample

Fix pipeline example.
  • Loading branch information
Vijay Vasudevan committed Mar 24, 2016
2 parents f6800b8 + 0a55f6b commit 672b969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/examples/skflow/iris_with_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# DNN classifier
DNNclassifier = skflow.TensorFlowDNNClassifier(hidden_units=[10, 20, 10], n_classes=3, steps=200)

pipeline = Pipeline([('scaler', scaler, ('DNNclassifier', DNNclassifier)])
pipeline = Pipeline([('scaler', scaler), ('DNNclassifier', DNNclassifier)])

pipeline.fit(X_train, y_train)

Expand Down

0 comments on commit 672b969

Please sign in to comment.