predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Goldin <>
Subject error in pio train E-Commerce Recommender
Date Wed, 09 May 2018 11:48:50 GMT
hi, i'm new to PredictionIO and i'm trying to use the E-Commerce
Recommender with some sample data, but when i launch pio train i get this
error which cause the train to abort:

"Exception in thread "main" java.lang.IllegalArgumentException: requirement
failed: viewEvents in PreparedData cannot be empty. Please check if
DataSource generates TrainingData and Preprator generates PreparedData

​i imported events from input file with required  json format:

{"entityType": "user", "targetEntityType": "item", "event": "buy",
"entityId": "341785", "eventTime": "2013-01-02T18:42:15.716Z",
"targetEntityId": "150020361"}

 ​does it mean that there must be at least some "view" events in the data
otherwise the recommender cannot train properly?​


View raw message