ShaunBaker / PredictionIO-Node-SDK

PredictionIO Node SDK
64 stars 9 forks source link

No longer working with PredictionIO 0.8 #15

Open asafyish opened 10 years ago

asafyish commented 10 years ago

There is a new version of PredictionIO, 0.8, with a complete new API. This module no longer works with that version.

ShaunBaker commented 10 years ago

Hello

Thanks for raising the issue. I will have a look into this and upgrade the module.

Thanks again

thelinuxlich commented 10 years ago

+1

asafyish commented 10 years ago

I am using this driver https://github.com/asafyish/predictionio-driver

(Shameless self promotion).

yocontra commented 10 years ago

Seems like all API documentation got removed between 0.7 and 0.8, plus they radically changed the way the API works. Does anyone have a link to API docs or did they just quit caring about people writing drivers?

asafyish commented 9 years ago

The closest thing I found was the curl examples, which are easily translatable to js code.

yocontra commented 9 years ago

@asafyish Got a link?

asafyish commented 9 years ago

Yep, Ranking items - http://docs.prediction.io/0.8.0/engines/itemrank/ Getting recommendations - http://docs.prediction.io/0.8.0/engines/itemrec/

There is an example tab called "Raw HTTP" with curl example.

yocontra commented 9 years ago

Yikes, the API was already pretty bad in 0.7 and it seems to have gotten even worse - this is so overly complex. Any idea what they were thinking?

thomasrorystone commented 9 years ago

Shaun's SDK should still work for 0.7.x series but unfortunately 0.8.x has some very fundamental changes see announcement on our user forum.

Some of the community contributed projects have already been updated for 0.8. Thanks @asafyish for yours!

Apologies for the lack of communication but any changes are intended to improve PredictionIO and offer more flexibility supporting other engines beyond purely recommendation (e.g., classification, regression, clustering).