Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Ravi Kiran
@Vaghawan, Issue is sorted out. I dont know for some reason app name was hardcoded (as "INVALID_APP_NAME") in template I am using. I changed that name to my app name and it worked. Link of template I am using https://github.com/apache/incubator-predictionio-template-attribute-based-classifier/blob/

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Vaghawan Ojha
Ya I see! the pio path shouldn't be the problem. But you can easily export the pio path. Ya, you can stick with the same pio, but could create new app from scratch, like downloading the template and creating a new pio app and changing engine.json. Hope this should work. On Wed, Apr 19, 2017 at

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Ravi Kiran
I am running "pio build" from template dir. But pio path is not configured. So, everytime I have to give absolute path of pio. Could that be a problem (But most queries are working). For e.g. ../bin/pio build ../bin/pio eval mlframework.AccuracyEvaluation mlframework.EngineParamsList ../bin app l

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Vaghawan Ojha
Hi, This seems fine, did you make sure to run pio build from that template dir? In case still not working, I would suggest you to delete the wineapp(if you haven't imported the events yet) and recreate a app, and change the engine.json and build again. I had this problem with both MyRecommendatio

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Ravi Kiran
[INFO] [App$] Name | ID | Access Key | Allowed Event(s) [INFO] [App$]app10 | 10 | mnbvcxz | (all) [INFO] [App$] sample_app10 | 11 | 1234 | (all) [INFO] [App$] sample_app2

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Ravi Kiran
*Contents of engine.json* { "id": "default", "description": "Default settings", "engineFactory": "mlframework.ClassificationEngine", "datasource": { "params": { "appName": "wineapp" } }, "algorithms": [ { "name": "naive", "params": { "lambda": 1.0

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Vaghawan Ojha
What does your pio app list produce? And can you also send a screenshot of your engine.json. This engine.json should be inside your template directory where you installed your template. I had faced this issue, but resolved it too. Let me know with your app list screenshot and corresponding engin

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Ravi Kiran
@Vaghawan, I have updated app_name in engine.json . And then 'pio Build' and evaluation query. Still this issue exists On 19-Apr-2017 8:14 AM, "Vaghawan Ojha" wrote: Hi, It seems you haven't changed the app name in your engine.json. There is an engine.json in your template directory, please mak

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Vaghawan Ojha
Hi, It seems you haven't changed the app name in your engine.json. There is an engine.json in your template directory, please make sure that you have changed that name. And it will works. Make sure you input the right appname in your engine.json. Thanks On Wed, Apr 19, 2017 at 5:33 AM, Ravi Ki

Invalid app name INVALID_APP_NAME

2017-04-18 Thread Ravi Kiran
Hi, When I try to evaluate I am getting following error. [ERROR] [Common$] Invalid app name INVALID_APP_NAME Exception in thread "main" java.lang.IllegalArgumentException: Invalid app name INVALID_APP_NAME I have updated app name in engine.json This app is in 'pio app list' I have also done 'pi

Re: Similar product template

2017-04-18 Thread Pat Ferrel
Answers below On Apr 18, 2017, at 1:25 AM, Dennis Honders wrote: Hello Pat, First of all, thanks a lot for the great explanation and the link to the PowerPoint. I think it already helped me a lot understanding the algorithms behind the templates. I also have some new questions based on the

Re: Similar product template

2017-04-18 Thread Dennis Honders
Hello Pat, First of all, thanks a lot for the great explanation and the link to the PowerPoint. I think it already helped me a lot understanding the algorithms behind the templates. I also have some new questions based on the email and the PowerPoint. 1. I currently understand matrix factoriz