Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README.adoc

  • Loading branch information...
commit 1645c67e67c1c124c2765ac1cbf1e15e60e82d15 1 parent 43c55bb
@markfisher markfisher authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  analytics-pmml/README.adoc
View
2  analytics-pmml/README.adoc
@@ -133,7 +133,7 @@ Save the following PMML code as a file with the name link:iris-flower-classifica
Next, start the XD container and the XD admin process, either single-node, or distributed. And start the XD shell. Create a stream
```
- xd:>stream create --name pmml1 --definition "http --outputType=application/x-xd-tuple | analytic-pmml --modelName=iris-flower-classifier-1 --location=/data/iris-flower-classification-naive-bayes-1.pmml.xml --inputFieldMapping='sepalLength:Sepal.Length,sepalWidth:Sepal.Width,petalLength:Petal.Length,petalWidth:Petal.Width' --outputFieldMapping='Predicted_Species:predictedSpecies' | log"
+ xd:>stream create --name pmml1 --definition "http --outputType=application/x-xd-tuple | analytic-pmml --modelName=iris-flower-classifier-1 --location=/data/iris-flower-classification-naive-bayes-1.pmml.xml --inputFieldMapping='sepalLength:Sepal.Length,sepalWidth:Sepal.Width,petalLength:Petal.Length,petalWidth:Petal.Width' --outputFieldMapping='Predicted_Species:predictedSpecies' | log" --deploy
```
Post some JSON content to the stream's http source
```
Please sign in to comment.
Something went wrong with that request. Please try again.