You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by Lohith Anand <an...@gmail.com> on 2020/06/02 01:39:59 UTC

recommendation template train error

[ERROR] [DataSource] Cannot convert
Event(id=Some(0cb41c7506dc4c089c1b2db5789f57fb),event=rate,eType=user,eId=551,tType=Some(item),tId=Some(1479),p=DataMap(Map(rating
->
JString(5))),t=2020-06-02T01:17:35.482Z,tags=List(),pKey=None,ct=2020-06-02T01:17:35.482Z)
to Rating. Exception: org.json4s.package$MappingException: Do not know how
to convert JString(5) into double.


Hello, I'm hitting the above error when I try pio train using
recommendation template. Can someone provide some insight on how to fix
this? My app can have user eId of up to 28,463,602


template -
https://predictionio.apache.org/templates/recommendation/quickstart/

thank you.