predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Goldin <markomar...@gmail.com>
Subject Re: error in pio train E-Commerce Recommender
Date Wed, 09 May 2018 12:08:28 GMT
oh, this was exactly what i didn't guess.
thanks for helping Rajesh!

2018-05-09 14:01 GMT+02:00 Rajesh Jangid <rajeshj@grazitti.com>:

> Hi Marco,
>   Yes, I came across the same error a little while ago and it seems there
> should be at least one viewEvent in data to train recommender.
>
> On Wed, May 9, 2018 at 5:18 PM, Marco Goldin <markomarko4@gmail.com>
> wrote:
>
>> 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 correctly."
>>
>> ​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?​
>>
>> thanks
>> Marco
>>
>
>

Mime
View raw message