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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

PredictionIO, where is the source code for pio build and pio train command?

My company still uses the old PredictionIO instead of HarnessActionML so I'm still working on it. I want to know where is the source code for "pio build" and "pio train" command ...
Quang Hoàng Minh's user avatar
0 votes
1 answer
58 views

Apache PredictionIO Similar Product Engine Template Install Problem

I have installed apache predictionio according to the document here: http://predictionio.apache.org/install/install-sourcecode/ No problem, it works. I added the necessary data. But I am having ...
omero's user avatar
  • 93
1 vote
0 answers
77 views

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/...
Nguyễn Minh Trí's user avatar
-2 votes
2 answers
4k views

panic: runtime error: invalid memory address or nil pointer dereference with bigger data

I am working on a recommendation engine with Apache Prediction IO. Before the event server i have an GO api that listens events from customer and importer. In a particular case when customer uses ...
Kadir Akin's user avatar
0 votes
1 answer
2k views

scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found. PredictionIO SETUP

I'm trying to setup a predictionIO engine for further use in my project, I'm facing this issue while building the app in prediction for a recommendation engine `[INFO] [Engine$] [error] (Compile / ...
Anoop Sharma's user avatar
1 vote
1 answer
286 views

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 ...
Jeetu's user avatar
  • 91
0 votes
0 answers
210 views

"How to connect Docker container with api "

I need to connect to the remote Docker container and send a couple of commands to start PredictionIO services, but from the outside, either via api docker or some of my own. I am new to this, so I ...
JUAN CABELLO's user avatar
1 vote
0 answers
32 views

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 ...
Alexey's user avatar
  • 11
0 votes
1 answer
46 views

How to combine two object elements

I want to combine two seperate results to one result. My first result is the itemscore from the first algorithm: PredictedResult(List(ItemScore(140849,0.6259532295250041,0.0,0.0,0.0)),List()) My ...
jurh's user avatar
  • 420
1 vote
1 answer
792 views

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....
jurh's user avatar
  • 420
0 votes
1 answer
204 views

json4s noSuchMethodError when querying deployed engine in predictionIO

I have a data stack built around PredictionIO 0.14. I use ES 6.4.2, spark2.4.3, and scala 2.11.12(because spark 2.4.3 is back to scala 2.11 as default). I manage to do pio build, pio train, and pio ...
Filippo Xausa's user avatar
0 votes
1 answer
92 views

Problem with developing Engines with IntelliJ IDEA

I like to use developing and debugging engines with IntelliJ IDEA, but I got an error. I used this link: https://predictionio.apache.org/resources/intellij/. Please guide me. Error: Exception in ...
koorosh's user avatar
0 votes
1 answer
329 views

How to fix ' Error: Invalid or corrupt jarfile /root/.sbt/launchers/1.2.8/sbt-launch.jar'

I was following the tutorial Apache PredictionIO Docker.When I was the step "Build Template" # pio-docker build --verbose It went an error. [root@docker01 MyRecommendation]# pio-docker build --...
jinwei li's user avatar
1 vote
1 answer
405 views

pio train fails with IOException: Connection reset by peer

I've done a setup of predictionIO v0.13 on my linux machine in docker (running in swarm mode). This setup includes: one container for pio v0.13 one container for elasticsearch v5.6.4 one container ...
tamassoltesz's user avatar
-1 votes
1 answer
657 views

Array within an array of Vectors.dense in Spark

I am trying to add featureD as an array of Double in Vectors.dense function, but getting this error: templates/scala-parallel-classification/reading-custom-properties/src/main/scala/DataSource.scala:...
HelmBurger's user avatar
  • 1,168
0 votes
1 answer
114 views

PredictionIO deploy Error with spark cluster on yarn

I hava install predictionIO with a spark clsuter on yarn mode. But when I use pio deploy a engine ,seening following error: how can i fix it ? [ERROR] [OneForOneStrategy] Wrong FS: file:/home/hadoop/...
郑纪伟's user avatar
0 votes
0 answers
80 views

How to Train, Build , Deploy & Schedule a PredictionIO Model

I am using PredictionIO Model to train, Build & Deploy as a service on a sample data set with default parameters. Now I have a scenario where the dataset is getting huge day by day (...
sai krishna's user avatar
0 votes
1 answer
106 views

Running Linear Regression model in Apache PredictionIO

I am trying to run Linear regression model in Apache predictionIo. and took the sample template from the PredictionIO templere gallery. https://github.com/RAditi/PredictionIO-MLLib-LinReg-Template ...
sai krishna's user avatar
0 votes
3 answers
397 views

Apache PredictionIO - Docker run failed

I have been trying http://predictionio.apache.org/install/install-docker/ this tutorial. I have successfully built Docker image however when I try to run docker run i get the Can't open /etc/...
biligunb's user avatar
0 votes
1 answer
34 views

Is it possible to get user events instead of recommendations in PredictionIO

Consider the below data is populated to PredictionIO: Items: Samsung, iPhone, Nexus Users: U1, U2 Event: U1 viewed Samsung, U1 viewed iPhone I am able to get the recommendations for user U1 when ...
Sangeetha's user avatar
0 votes
1 answer
94 views

PredictionIO train failed in HDInsight Yarn Cluster

I have tried to run pio train command in HDInsight Spark cluster using following command pio train -- --deploy-mode cluster --master yarn But there is following error have been provided 2018-11-05 ...
Anar Bagirov's user avatar
0 votes
1 answer
252 views

Duplicate field 'Status' when I try to run 'pio status'

When ever I do pio status I get the following error [INFO] [Management$] Inspecting PredictionIO... [INFO] [Management$] PredictionIO 0.13.0 is installed at /Users/prvns/tools/PredictionIO-0.13.0 [...
Damien-Amen's user avatar
  • 7,242
0 votes
2 answers
169 views

How do I run the build script in this docker container

I am trying to run this container here: https://github.com/mingfang/docker-predictionio. I built the docker image, but I don't know how to run the 'build' script in the repo. I tried ./build but that ...
Maaz Mohamedy's user avatar
0 votes
2 answers
263 views

PredictionIO : pio train fails with stack overflow error

I'm trying to build a recommendation engine using predictionIO's similar product template. I modified the template to recommend user's instead of items by following this article. Now if I train my ...
Paras's user avatar
  • 3,191
0 votes
2 answers
450 views

How to run PredictionIo Engine with MYSQL as a data source?

I have installed PredictionIo engine from the following link using the first method. Now I want to run the engine using MYSQL as a datasource. So I have configured env.sh file as described below : #...
Paras's user avatar
  • 3,191
0 votes
2 answers
364 views

PredictionIO 0.12.1 - No engine found. Your build might have failed. Aborting

I have used Binary Distribution to install PredictionIO 0.12.1, I have successfully started pio. After that I have used Quick Start - E-Commerce Recommendation Engine Template. At the time of building,...
Nimit 's user avatar
  • 1,714
0 votes
1 answer
71 views

Unable to build apache pio sample template

I am trying to build the sample template from github but I get following error pio build --verbose [INFO] [Console$] [error] Modules were resolved with conflicting cross-version suffixes in {file:/...
gpd's user avatar
  • 180
0 votes
1 answer
510 views

deploy predictionio with spark standalone cluster

I use the official Recommendation as a test. I did these steps successfully: event server installed in a docker container.(successfully) config eventdata, metadata and all things are stored in mysql.(...
user8036017's user avatar
1 vote
0 answers
132 views

PredictionIO training on EMR Spark Cluster on demand

I want reduce load on a single server which is currently hosting EventServer, PredictionServer and Training. Obviously, this will not be scalable. I want to push the SPARK training job on an EMR ...
ANKIT HALDAR's user avatar
  • 1,365
-2 votes
1 answer
852 views

what are the steps to install prediction IO on windows 7 [closed]

i am new to predictionio and i am not able to install the predictionio on my PC. The steps given on the apache site i am not able to understand command like $ tar zxvf apache-predictionio-0.12.1.tar....
Nishit Oza's user avatar
1 vote
0 answers
123 views

How to query predictionio for a particular app

I have created multiple apps in predictionio. While inserting events in predictionio, there a parameter accessKey (associated to app) which is passed. Whereas for queries.json, couldn't find the ...
Devashish Mamgain's user avatar
0 votes
0 answers
55 views

Predicition.io - Undeploy prediction model

I want to undeploy an already deployed predictionio model, but didn't find any help so far. There is another post How to undeploy the Prediction IO model from stack overflow but it's also not ...
shoaib's user avatar
  • 29
0 votes
1 answer
382 views

PredictionIO UniversalRecommender elasticsearch error

I'm using the Universal Recommender that comes with Prediction.io and am getting the following error when I run the ./examples/integration-test script (found here). [INFO] [ContextHandler] Stopped o....
Connor Cartwright's user avatar
0 votes
1 answer
22 views

IndexMissingException after building model predictionIO

I'm trying to update a parameter, build, train, and deploy an ALS model with pio (predictionIO). I'm very new to pio. 
 I updated the alpha paramenter in engine.json 
 then ran the build command: 
 /...
modLmakur's user avatar
  • 531
1 vote
1 answer
209 views

building MySimilarProduct engine in PIO

when i'am building engine with cmd: pio build --verbose i'am getting error Using existing engine manifest JSON at /...
srikar varma's user avatar
2 votes
0 answers
357 views

Prediction.io - Elasticsearch error

I'm trying to install Prediction.io on virtualBox ubuntu 16.04 version. Following is configured pio-env.sh PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_metadata ...
Aniruddha A Deshpande's user avatar
0 votes
1 answer
319 views

Deleting events from Prediction-IO App

We are using Hbase, Hadoop as event stores for our universal recommender apps which uses PredictionIO internally. The data has grown very large and after much thought, we think it would be better to ...
TheRajVJain's user avatar
1 vote
0 answers
80 views

how can I debug PredictionIO queries?

is it possible to deploy pio engine's query server with debug options? I want to debug my queries via intellij idea. I was reading that link https://predictionio.apache.org/resources/intellij/ but it ...
Normal's user avatar
  • 1,357
0 votes
1 answer
445 views

PredictionIO Not able to build pio

I am trying to use UR with predictionio-0.11.0-incubating, with following configs: elasticsearch.version=1.7.6 scala.version=2.11.8 It is giving an error message [ERROR] [Engine$] No engine found. ...
Neha Gupta's user avatar
0 votes
1 answer
225 views

org.apache.predictionio#apache-predictionio-core_2.10_2.10;0.10.0-incubating: not found

I was trying to use universal recommender using predictionIO. I was using the template: template-scala-parallel-universal-recommendation. I have imported the file and while building the engine, I am ...
Neron Joseph's user avatar
  • 1,725
-1 votes
1 answer
89 views

"Malformed json" error while running predictionIO

I was trying universal recommender using predictionIO. While importing .json file into the app by command: $ pio import --appid 6 --input importdata/click.json I am getting an error: [Stage 0:> ...
Neron Joseph's user avatar
  • 1,725
2 votes
0 answers
235 views

PredictionIO Universal Recommender Engine

I have pulled "zephrax/docker-prediction.io-universal-recommender" docker image and follow the instruction in https://github.com/PredictionIO/template-scala-parallel-universal-recommendation, when I ...
MMRA's user avatar
  • 337
1 vote
1 answer
1k views

Can't edit docker images file in host

I am new to docker and I have pulled docker image PredictionIO, I need to edit a file in it and re-run but I can't. docker image is not in my directories, too. how can I save the image to my host and ...
MMRA's user avatar
  • 337
2 votes
1 answer
142 views

Total number of events in predictionio are showing less than the actual events

I am new to predictionIO V 0.12.0 (elasticsearch - 5.2.1 , hbase - 1.2.6 , spark - 2.6.0) Hardware (244 GB RAM and Core - 32) . I have uploaded near about 1 million events(each containing 30k features)...
Abhimanyu's user avatar
  • 2,710
1 vote
1 answer
135 views

Error in getting Total Events in a PredictionIO App

I am new to PredictionIO using version v0.11-incubating (spark - 2.6.1 , Hbase - 1.2.6 , ElasticSearch - 5.2.1) . Started the Prediction Server with ./pio-start-all and checked pio status these are ...
Abhimanyu's user avatar
  • 2,710
1 vote
1 answer
314 views

Preferred recommendation system

I am implementing a employee planning solution where staff can have their preferred work times and this system can also recommend the best time a staff should work. To provide recommendations to a ...
Sachin Verma's user avatar
  • 3,712
3 votes
0 answers
175 views

PredictionIO Training Getting Failed

I am new to predictionIO . I am using template https://github.com/EmergentOrder/template-scala-probabilistic-classifier-batch-lbfgs. My training dataset count is 1184603 having approx 6500 features. ...
Abhimanyu's user avatar
  • 2,710
0 votes
1 answer
115 views

PredictionIO and Recommendation Template Files

i'm trying to build movie recommendation application using PredictionIO. i have already using PredictionIO 0.11 on Docker, the issue that when i run pio build --verbose it's showing: no engine ...
Alabady Hussein's user avatar
0 votes
1 answer
960 views

How to resolve java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer

I am using PredictionIo for machine learning. And i use a older template. When i build it, all is okay. But when i want to train with pio train i got this error java.lang.NoClassDefFoundError: org/...
drtapha's user avatar
  • 539
0 votes
1 answer
66 views

Getting Error while Training using template https://github.com/apache/incubator-predictionio-template-text-classifier.git

i am new to PredictionIo. I begin to test some templates. When i use Text-classification and i do pio train I have the following exception Exception in thread "main" java.lang.NoSuchMethodError: ...
drtapha's user avatar
  • 539