predictionio

Error with pio import

*爱你&永不变心* 提交于 2019-12-24 00:33:18
问题 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: 1 [INFO] [App$] ID: 1 [INFO] [App$] Access Key: v9gaJRl8AD4iL1mEvaZuJ8swaLiAEqVUzWdXlVkkCnbKKBMFSBljIq5dZ02JaAkL Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:mysql://192.168.1.30/recommend_361 at java.sql.DriverManager

How to undeploy the Prediction IO model

╄→尐↘猪︶ㄣ 提交于 2019-12-22 08:21:06
问题 I am working with logistic regression using prediction io template. I have been deployed a model using pio deploy . It gives me a port where I am testing my problem. My question is how to undeploy the model. Is there any command to undeploy Or I have to find the PID of port using netstat -npl | grep port no and manually kill the PID. 回答1: You can use pio undeploy pio undeploy --ip <user_ip> --port <user_port> 回答2: another way to undeploy your running engine server is to perform a GET on the

PredictionIO Engine

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-19 04:39:48
问题 Facing the error due to iteration in engine for data due to which stackoverflow exception is coming as follows: ERROR org.apache.spark.executor.Executor [Executor task launch worker-0] - Exception in task 0.0 in stage 30.0 (TID 76) java.lang.StackOverflowError at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2774) at java.io.ObjectInputStream.readHandle(ObjectInputStream.java:1450) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1512) at java

JSon-Scala - Parse list

☆樱花仙子☆ 提交于 2019-12-14 04:15:11
问题 I have problem parsing JSon into RDD {"data":"{\"orderID\":\"3\",\"products\":[{\"productID\":10028,\"category\":\"342\",\"name\":\"Kids Coats\",\"gender\":\"Kids\",\"sport\":\"Basketball\",\"color\":\"Blue\",\"retailPrice\":268.0,\"sellPrice\":268.0,\"sellQuantity\":1,\"taxablePrice\":268.0,\"brand\":\"Inno Fashion\",\"stockQuantity\":999,\"subTotal\":268.0,\"ancesstorCategories\":[\"2426\",\"2454\",\"241\",\"342\",\"24\",\"34\",\"2439\",\"21\",\"3\",\"2\",\"1\",\"2412\",\"2430\",\"2503\"]},

Predictionio evaluation fails with empty.maxBy exception and training with java.lang.OutOfMemoryError

大城市里の小女人 提交于 2019-12-12 18:18:02
问题 I have downloaded the latest update on text classification template. I created a new app and imported stopwords.json and emails.json by specifying app id $ pio import --appid <appID> --input data/stopwords.json $ pio import --appid <appID> --input data/emails.json Then I changed engine.json and given my app name in it. { "id": "default", "description": "Default settings", "engineFactory": "org.template.textclassification.TextClassificationEngine", "datasource": { "params": { "appName": "

predictionio: why can I make post requests with curl but not python?

孤街浪徒 提交于 2019-12-12 01:54:28
问题 I am trying to import data into predictionio. I can send each event individually with curl fine: curl -i -X POST http://localhost:7070/events.json?accessKey=285285285 \ -H "Content-Type: application/json" \ -d '{ "event" : "buy", "entityType" : "user", "entityId" : "u1", "targetEntityType" : "item", "targetEntityId" : "i2", "eventTime" : "2014-11-10T12:34:56.123-08:00" }' HTTP/1.1 201 Created Server: spray-can/1.3.3 Date: Fri, 23 Dec 2016 00:02:32 GMT Content-Type: application/json; charset

No engine found. Your build might have failed. Aborting. [predictionio]

两盒软妹~` 提交于 2019-12-10 13:38:30
问题 Please click this link to see the exact log i am seeing after running pio build. It fails as it can't find engine. Help would be much appreciated 回答1: I meet the same problem, because I specified scala.version=2.11.8 when I build PredictionIO but the engine template I used was build with scala 2.10. so I edit build.sbt file under engine's folder, and add scalaVersion := "2.11.8" , re-run the build command( pio build --verbose ), then everything build finished successfully. 回答2: Check which

How to undeploy the Prediction IO model

烈酒焚心 提交于 2019-12-05 14:12:46
I am working with logistic regression using prediction io template. I have been deployed a model using pio deploy . It gives me a port where I am testing my problem. My question is how to undeploy the model. Is there any command to undeploy Or I have to find the PID of port using netstat -npl | grep port no and manually kill the PID. You can use pio undeploy pio undeploy --ip <user_ip> --port <user_port> another way to undeploy your running engine server is to perform a GET on the /stop endpoint of the server. Using a browser simply goto: http://<host>:<port>/stop Using curl it would look like

PredictionIO Engine

回眸只為那壹抹淺笑 提交于 2019-12-01 01:57:28
Facing the error due to iteration in engine for data due to which stackoverflow exception is coming as follows: ERROR org.apache.spark.executor.Executor [Executor task launch worker-0] - Exception in task 0.0 in stage 30.0 (TID 76) java.lang.StackOverflowError at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2774) at java.io.ObjectInputStream.readHandle(ObjectInputStream.java:1450) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1512) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774) at java.io.ObjectInputStream