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
0
votes
1 answer

how to make predictionio/flatspec create HTML output if I run the tests in sbt?

please help me with this issue: I have unit test in predictionio and want to create HTML output for that The code is similar to…
Le Kim Trang
  • 369
  • 2
  • 5
  • 17
0
votes
1 answer

How do I calculate true positive, true negative, false positive, and false negative

Actually I am working on specificity and sensitivity. I have to calculate confusion matrix. but I don't know how to calculate. Output of prediction IO model is categorized into 3 categories like positive, negative and neutral. Can any one tell me…
Kishore
  • 5,761
  • 5
  • 28
  • 53
0
votes
2 answers

Set a period of time when training algorithm

I would like to set a specific of time when training recommendation algorithm, for instance: I only want to train data of 6 months back or 3 months back. Does anybody know the way to config or I have to implement it? Thank you very much.
Le Kim Trang
  • 369
  • 2
  • 5
  • 17
0
votes
1 answer

Running unit test of template-scala-parallel-similarproduct

Can anybody help me the way to run the test CooccurenceAlgorithmTest.scala https://github.com/PredictionIO/template-scala-parallel-similarproduct/tree/develop/src/test/scala Thank you very much.
Le Kim Trang
  • 369
  • 2
  • 5
  • 17
0
votes
0 answers

Memory Optimization in Prediction IO

I am working on naive bayes and logistic regression using prediction io, it is great product. All are working fine. but when I build the prediction model and deploy, it gives java heap error so I gave this command pio deploy -- --driver-memory 2G…
Kishore
  • 5,761
  • 5
  • 28
  • 53
0
votes
0 answers

Scala - unit test

I would like to write unit test for this function, can any one help me with this? def train(sc: SparkContext, data: PreparedData): TopViewModel = { val itemStringIntMap = BiMap.stringInt(data.itemsView.keys) // collect Item as Map and…
Le Kim Trang
  • 369
  • 2
  • 5
  • 17
0
votes
0 answers

Scala - Importing libraries for parsing JSON - PredictionIO

I have problem importing libraries import play.api.libs.json._ import play.api.libs.functional.syntax._ [ERROR] [Console$] [error] /home/lavalamp/PredictionIO/algorithms/bestseller/src/main/scala/DataSource.scala:25: object api is not a member of…
Le Kim Trang
  • 369
  • 2
  • 5
  • 17
0
votes
1 answer

key not found: regParam in Logistic Regression PredictionIO

I am using TextClassificationEngine. Given example at https://docs.prediction.io/demo/textclassification/ there is two algorithms (Naive Bayes and Logistic Regression) for text classification. Naive Bayes algorithm works fine but when I used…
Kishore
  • 5,761
  • 5
  • 28
  • 53
0
votes
1 answer

Deploying PredictionIO with AWS CloudFormation

I've just followed the example process as described in the predictionio docs to create a PredictionIO Cluster on AWS CloudFormation but my stack rolled back right after creation. Did any of you successfully follow the docs?
Jörn
  • 845
  • 5
  • 16
0
votes
1 answer

Update metainfo not found

Done with installing PredictionIO and downloading an Engine Template. Using Python SDK. pio status [INFO] [Console$] Inspecting PredictionIO... [INFO] [Console$] PredictionIO 0.9.4 is installed at /home/infoobjects/PredictionIO [INFO]…
Kishore
  • 5,761
  • 5
  • 28
  • 53
0
votes
1 answer

PredictionIO unnable to get engine running on AWS

Im trying to deploy my classification engine following the tutorial on AWS. In localhost, you deploy Event Server in port 7070 and then an engine in port 8000, but in AWS you have Event Server running, and "pio deploy" tries to deploy the engine in…
Leandro Latorre
  • 161
  • 1
  • 1
  • 6
0
votes
1 answer

Realtime Prediction.io with Apache Storm

I want to implement a music recommendation system that can generate recommended music playlists in realtime. I believe that this can be implemented in Prediction.io... However, due to Prediction.io's design, I need to call pio train, pio deploy, in…
0
votes
1 answer

PredictionIO IntelliJ setup. Missing module SDK

I'm trying to setup IntelliJ Idea for PredictionIO engine development in Scala. I'm following the documentation step by step. However, I am unable to build the project due to missing SDK. I have JDK installed. Should I point to this SDK there?…
Rafał Sroka
  • 39,540
  • 23
  • 113
  • 143
0
votes
1 answer

PredictionIO training engine fails with error - WorkflowConfig is empty. Quitting

I'm trying to deploy an engine. I'm following the docs. So I: create the app, download the engine, update the app name in engine.json, build it: pio build --verbose, then train: pio train --verbose. Everything works, building completes…
Rafał Sroka
  • 39,540
  • 23
  • 113
  • 143
0
votes
2 answers

PredictionIO start server throws Unsupported class version errors in centos 6

I have installed predictionIO in RHEL 6.6. But when I start pio with pio-start-all I am getting error as follows $ pio-start-all Starting Elasticsearch... Starting HBase... Exception in thread "main" java.lang.UnsupportedClassVersionError:…
cutteeth
  • 2,148
  • 3
  • 25
  • 45