tag | 9473d8429f9cae25cbfa96318b15ee98c9047ced | |
---|---|---|
tagger | Donald Szeto <dszeto@salesforce.com> | Wed May 03 17:17:47 2017 -0700 |
object | 893fca51b57913b4c1fa5ba41af744ba21808dd8 |
v0.11.0-incubating
commit | 893fca51b57913b4c1fa5ba41af744ba21808dd8 | [log] [tgz] |
---|---|---|
author | Donald Szeto <dszeto@salesforce.com> | Wed May 03 17:17:31 2017 -0700 |
committer | Donald Szeto <dszeto@salesforce.com> | Wed May 03 17:17:31 2017 -0700 |
tree | dd992f3c19c76cfe8e75050315ce6bf54d5c6df4 | |
parent | 5535929aec4102f9ab87b338461d82b627f647ef [diff] |
0.11.0-incubating release
Please refer to http://predictionio.incubator.apache.org/templates/similarproduct/quickstart/
Update for Apache PredictionIO 0.10.0-incubating
engine.json
by engine-cooccurrence.json
, or specify --variant engine-cooccurrence.json
parameter for both $pio train
and $pio deploy
update for PredictionIO 0.9.2, including:
$ python data/import_eventserver.py --access_key <your_access_key>
normal:
curl -H "Content-Type: application/json" \ -d '{ "items": ["i1", "i3", "i10", "i2", "i5", "i31", "i9"], "num": 10}' \ http://localhost:8000/queries.json \ -w %{time_connect}:%{time_starttransfer}:%{time_total}
curl -H "Content-Type: application/json" \ -d '{ "items": ["i1", "i3", "i10", "i2", "i5", "i31", "i9"], "num": 10, "categories" : ["c4", "c3"] }' \ http://localhost:8000/queries.json \ -w %{time_connect}:%{time_starttransfer}:%{time_total}
curl -H "Content-Type: application/json" \ -d '{ "items": ["i1", "i3", "i10", "i2", "i5", "i31", "i9"], "num": 10, "whiteList": ["i21", "i26", "i40"] }' \ http://localhost:8000/queries.json \ -w %{time_connect}:%{time_starttransfer}:%{time_total}
curl -H "Content-Type: application/json" \ -d '{ "items": ["i1", "i3", "i10", "i2", "i5", "i31", "i9"], "num": 10, "blackList": ["i21", "i26", "i40"] }' \ http://localhost:8000/queries.json \ -w %{time_connect}:%{time_starttransfer}:%{time_total}
unknown item:
curl -H "Content-Type: application/json" \ -d '{ "items": ["unk1", "i3", "i10", "i2", "i5", "i31", "i9"], "num": 10}' \ http://localhost:8000/queries.json \ -w %{time_connect}:%{time_starttransfer}:%{time_total}
all unknown items:
curl -H "Content-Type: application/json" \ -d '{ "items": ["unk1", "unk2", "unk3", "unk4"], "num": 10}' \ http://localhost:8000/queries.json \ -w %{time_connect}:%{time_starttransfer}:%{time_total}