Questions tagged [predictionio]

Apache PredictionIO is an open source Machine Learning server for software developers to create predictive features, such as personalization, recommendation and content discovery.

PredictionIO is an open source machine learning server for software developers to create predictive features, such as personalization, recommendation and content discovery.

184 questions
2
votes
1 answer

Prediction.io app creating fail on SecureRandom method because table events_1 does not exit

I got the error "The table pio_event:events_1 doesn't exist yet" trying to create a new app. $ pio app new myapp Console log: [INFO] [HBLEvents] The table pio_event:events_1 doesn't exist yet. Creating now... [INFO] [App$] Initialized Event Store…
Rafael Leonhardt
  • 404
  • 5
  • 15
2
votes
0 answers

How to Debug pio train in Predictionio?

Currently, i learn Recommendation Engine Template. However, by learn from existing engine, i need to debug All Scala's variable (input and output) when running pio train, is it possible ?
2
votes
0 answers

Is it Possible to use "event rating" in Universal Template

i have event like below : { "event": "rate", "entityType": "user", "entityId": "John", "targetEntityType": "item", "targetEntityId": "Car Toy", "properties" : { "rating" : 5 } } i want the event "rate" that have properties…
questionasker
  • 2,536
  • 12
  • 55
  • 119
2
votes
2 answers

PredictionIO: Installing JDBC driver for postgresql on OSX

I'm trying to follow the PredictionIO tutorial for a text classification enginge provided here. I'm using OSX and PredictionIO together with PostgreSQL. When trying to import data into my naked App with the command pio import --appid 1 --input…
2
votes
2 answers

PredictionIO text classification quick start failing when reading the data

I'm following this quick start after starting this ready-to-use PredictionIO Amazon EC2 instance and after running these commands it fails in the pio train: pio app new MyTextApp pio import --appid 1 --input data/stopwords.json pio import --appid 1…
cahen
  • 15,807
  • 13
  • 47
  • 78
2
votes
1 answer

Error with pio import

I can create application normally, but cannot import data. Neither for pio train and pio deploy. Can anyone help me with that? [INFO] [App$] Initialized Event Store for this app ID: 1. [INFO] [App$] Created new app: [INFO] [App$] Name:…
Le Kim Trang
  • 369
  • 2
  • 5
  • 17
2
votes
1 answer

PredictionIO - one engine and multiple algorithms

I am stuck with one engine and multiple algorithms and need help further. I have one engine and 2 algorithms, let's call AL1 and AL2. In src/main/scala having 2 algorithm scala files, name AL1Algorithm.scala and AL2Algorithm.scala each algorithm…
Le Kim Trang
  • 369
  • 2
  • 5
  • 17
2
votes
1 answer

Hybrid recommender in spark

I am trying to build a hybrid recommender using prediction.io which functions as a layer on top of spark/mllib under the hood. I'm looking for a way to incorporate a boost based on tags in the ALS algorithm when doing a recommendation request.…
2
votes
2 answers

Is it Item based or content based Collaborative filtering?

I am currently working on an existing system that recommends items that are similar to previous items that the user has liked. It uses Alternating least squares Collaborative Filtering to find feature vectors of users and items. It then uses the…
2
votes
1 answer

PredictionIO suggest to like items that have already been liked

I'm trying to use PredictionIO recommendation engine in Rails app to suggest items for users to like. So, I have three models: user, product and favorite(user_id, product_id). This is what algorithms.json file looks like: [ { "name":…
2
votes
1 answer

predictionio not producing any predictions

I am trying to test out prediction-io for the first time. I followed the installation instructions for linux and developed several test engines. After repeatedly getting the following error on my own datasets I decided to follow the movie 100k…
user2694306
  • 3,832
  • 10
  • 47
  • 95
1
vote
0 answers

Prediction IO engine build problem with sbt-launcher

I'm trying to build an engine with pio-docker but it seems like the link for downloading sbt-launcher is broken so it can't be done I did manually place the launcher in the $HOME/.sbt/launchers/1.2.8/ but it doesn't work (the .sbt folder is placed…
1
vote
1 answer

Predictionio pio build succeeds but pio train error No 'name' is found

Created a docker container in ubuntu and when using the example recommendation model from https://predictionio.apache.org/templates/classification/quickstart/ The pio build is successful however pio train step fails with the below error [INFO]…
Jeetu
  • 91
  • 9
1
vote
0 answers

How do I evaluate complimentary purchase template engine in predictionIO?

I use predictionIO, build and trained a model for complimentary purchase template engine: https://github.com/PredictionIO/template-scala-parallel-complementarypurchase Now I need to evaluate the results. But the evaluation part in predictionio docs…
Alexey
  • 11
  • 1
1
vote
1 answer

How to print the content of a collection sequence

I want to print the contents of a collection and I've tried with the mkString method, but it gives me still not the right content of the object. My code: package org.template import org.apache.predictionio.controller.LServing class Serving …
jurh
  • 420
  • 1
  • 4
  • 17
1 2
3
12 13