Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
put it in a database or > you would loose the ability to react to user’s real-time behavior, which is > used to make recommendations. Stick to the input/query APIs and feed data > into the UR in real-time and you’ll get the most benefit. > > > On Mar 23, 2017, at 12:25 PM, Vaghawan

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
sure. > Team ML > Betaout > > On Thu, Mar 23, 2017 at 11:13 PM, Vaghawan Ojha <vaghawan...@gmail.com> > wrote: > >> There is no file called pio-env.sh however there is pio-env.sh.template. >> Are they the same? >> >> On Thu, Mar 23, 2017 at

Error while importing the event.json file.

2017-03-26 Thread Vaghawan Ojha
While importing the event data, I get the following error, I am new and I don't even understand what does they means? While doing pio status it's shows everything ok. What's wrong here. sudo PredictionIO-0.10.0-incubating/bin/pio import --appid 1 --input my_events.json [INFO] [Runner$]

Re: Need Help Building

2017-03-26 Thread Vaghawan Ojha
this, this seems to be the problem of not having sodoers for pio command. On Sun, Mar 26, 2017 at 11:22 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Hi, > Thanks but the error was because I was not inside the template dir while > running pio build. It builded now successfull

Re: Error while importing the event.json file.

2017-03-26 Thread Vaghawan Ojha
But when I restart the whole machine, it again works. Its quite weird. On Sun, Mar 26, 2017 at 7:16 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Sorry even pio status shows some errors now: > > [ERROR] [RecoverableZooKeeper] ZooKeeper exists failed after 1 at

Using Recommendation Engine without product rating.

2017-03-26 Thread Vaghawan Ojha
Hi, I'm seeing this template engine ( http://predictionio.incubator.apache.org/templates/recommendation/quickstart/ ) But it seems that it needs rating parameter by default, is it possible to just to use user_id and item_id as the parameters. Normally I would have to load the data in json,

Need Help

2017-03-26 Thread Vaghawan Ojha
HI, I'm setting up prediction.io with elastic search and hbase, but there is a option in pio-env.sh for postgresql, can I use hbase for this section? # Default is to use PostgreSQL PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=PGSQL

Re: Error while importing the event.json file.

2017-03-26 Thread Vaghawan Ojha
iguration: PATH -> /home/ekbana-php/.pio_store/models, TYPE -> localfs [ERROR] [Console$] Source Name: HBASE; Type: (error); Configuration: (error) How would I actually solve it? On Sun, Mar 26, 2017 at 7:13 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > While importing the e

Re: Need Help setting up Universal Recommended with PIO

2017-03-30 Thread Vaghawan Ojha
in a directory (I put it in my >> home directory) >> >> You can name it like you want. >> When cloning without providing a directory name you will have the repo in >> univeral-recommender (It's what I do) >> >> 2017-03-30 15:58 GMT+04:00 Vaghawan Ojha <vaghaw

Re: Need Help setting up Universal Recommended with PIO

2017-03-30 Thread Vaghawan Ojha
st.json) > > then > > pio train > > And > > pio deploy > > > 2017-03-30 16:13 GMT+04:00 Vaghawan Ojha <vaghawan...@gmail.com>: > >> Ok, So universal recommender stays at a different dir independently, so I >> can't see in the documentation wher

Re: Need Help setting up Universal Recommended with PIO

2017-03-30 Thread Vaghawan Ojha
ionio repo and > git checkout release/0.10.0 > > 2017-03-30 15:43 GMT+04:00 Vaghawan Ojha <vaghawan...@gmail.com>: > >> Hi, >> >> Are you telling me to use either one of them? >> >> So let's say I only cloned the first one, the merged branch from &g

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
y default > > 2017-03-23 20:16 GMT+04:00 Vaghawan Ojha <vaghawan...@gmail.com>: > >> Hi, >> >> Yes I did that but still I get the same output, it's weird. >> >> Thanks >> >> On Thu, Mar 23, 2017 at 10:00 PM, Marius Rabenarivo < >>

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
23 20:25 GMT+04:00 Vaghawan Ojha <vaghawan...@gmail.com>: > >> But I wanted to use mysql as default. Should I switch it? I can do that, >> but I was just wondering since the documentation says that I could use >> mysql. >> >> On Thu, Mar 23, 2017 at 10:03 PM,

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
17-03-23 20:18 GMT+04:00 Marius Rabenarivo <mariusrabenar...@gmail.com>: > >> I think pio-start-all start PostgreSQL by default >> >> 2017-03-23 20:16 GMT+04:00 Vaghawan Ojha <vaghawan...@gmail.com>: >> >>> Hi, >>> >>> Yes I did that but

Re: ERROR: Remote Elastic search cluster

2017-03-28 Thread Vaghawan Ojha
Hi Malay, Have you configured the configuration of the elasticsearch like hosts, ports and clustername in elasticsearch.yaml? (cluster.name: elasticsearch) for cluster name? I had ran into similar kind of issues, but for me I forgot to put the cluster name in configuration. That worked for me

The recommendation engine shows only one result for all users

2017-03-28 Thread Vaghawan Ojha
Hi, I've added more than 30 events in the engine, and I'm using this template ( https://github.com/apache/incubator-predictionio-template-recommender) When I had small data set, the engine was Ok and it was showing different result for different users but when I've trained 30 of dataset

Re: Empty result even though there are events

2017-03-31 Thread Vaghawan Ojha
} {"entityId":"00097710","entityType":"user","event":"purchase","targetEntityType":"item","targetEntityId":"BM61833"} {"entityId":"00097710","entityType":"user&

Re: Empty result even though there are events

2017-03-30 Thread Vaghawan Ojha
I've 5 transection data for experiment. I don't think it's the data because with the same data I could get recommendation using Recommendation template. On Fri, Mar 31, 2017 at 11:29 AM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Hi, > > I imported the bulk data using pio

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
it exactly reads the pio-env.sh. On Fri, Mar 24, 2017 at 12:29 AM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > I think something else is wrong that this, otherwise I should get a > different error, I get the same error even if I deleted the whole > pio-env.sh. This is weird. > >

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
ons of PIO but if you use the UR config you can also use every > template too. > > > > On Mar 23, 2017, at 9:07 AM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > > Hi, Thank you! > > I came into further more confusion here, actually I installed prediction > IO v

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
ate, But Morning is sure. > Team ML > Betaout > > On Thu, Mar 23, 2017 at 11:26 PM, Vaghawan Ojha <vaghawan...@gmail.com> > wrote: > >> Still got the same unfortunately: >> >> this is pio status >> >> ionIO-0.10.0-incubating/bin/pio status >

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
found in ${use_conf_dir}. Using system environment variables instead.\033[0m\n" Thanks On Fri, Mar 24, 2017 at 12:18 AM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Am I supposed to do something after I changed the pio-env.sh ? Because > it's not working at any rate. I don'

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
24, 2017 at 12:36 AM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > I get the same error even if I deleted the pio-env.sh . I am not sure from > where else it throws that error. But there is yet anotehr file called > pio-env.sh.travis, which seems a bit different then pio-env.sh.t

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
ICSEARCH_CLUSTERNAME=# > PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost# > PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300# > PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=$PIO_HOME/vendors/elasticsearch-1.4.4# > Local File System > ExamplePIO_STORAGE_SOURCES_LOCALFS_TYPE=localfsPIO_STORAGE_SOURCE

Re: Need a Suggessations

2017-03-23 Thread Vaghawan Ojha
:42 AM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > The problem here isn't the pio-env.sh. Because I get the same thing even > if I renamed the pio-env.sh to whatever else. It doesn't even matter even > if I deleted the file, because I am getting the same message. There should &

Re: Empty result even though there are events

2017-04-04 Thread Vaghawan Ojha
etting a new appName in engine.json will > not automatically create a new app. Apps are created when you do `pio app > new`. > > On Tue, Apr 4, 2017 at 8:13 PM Vaghawan Ojha <vaghawan...@gmail.com> > wrote: > > Hi, > > Yes, I couldn't use different appName. Even when I cha

Re: The recommendation engine shows only one result for all users

2017-04-03 Thread Vaghawan Ojha
m","targetEntityId":"BM41244"} {"entityId":"00041181","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"BM31483"} {"entityId":"

Universal Recommender is recommending example data even after training the real data

2017-03-30 Thread Vaghawan Ojha
Hi, I first tested the UR with example integration, and then I imported the my real data and t rained the engine, Everything is Ok in deployment. But when I make a real query, it stills shows me the example data, I'm missing something, but what I'm missing I am not sure. Can you please help me?

Empty result even though there are events

2017-03-30 Thread Vaghawan Ojha
Hi, I imported the bulk data using pio import --appid (id) --input data.json . The import was successful, then I build and trained and deployed the UR, but when I query the server, it always returns a empty json {"itemScores":[]} . I think, I must be missing something in the config, here is

Uses Of PIO in Image Processing

2017-04-12 Thread Vaghawan Ojha
Hi, I was just wondering if anyone has used PIO for image processing, like classification type. I can make use of tenserflow for image processing and build a model, and work with that. But I'm particular curious, if PIO is suitable for those tasks too? This may be a dumb question to ask, but

How Does The Score Works In UR

2017-04-07 Thread Vaghawan Ojha
Hi, I was just curious, how does the score works in the UR, I've seen the UR presentation in the documentation site, but I couldn't be sure what it really signifies. For example: what's the limit of the score? What's the possibly highest score? Thanks

Cart/Complementary purchase recommendation with UR

2017-04-05 Thread Vaghawan Ojha
Hi Pat, As far as the actionml docs tells me that I could be able to use the UR to recommend the cart/complementary purchase, but there seems to be no documentation regarding this. It would be helpful if there was a documentation for this feature. I know people have worked out and implemented

Re: How Does The Score Works In UR

2017-04-09 Thread Vaghawan Ojha
Hi Pat, I did some study and understood some of those complexities, and some are yet far to be understood. You have put really nice presentation in the doc site. I really appreciate your work and help. Thank you very much! On Sat, Apr 8, 2017 at 10:12 AM, Vaghawan Ojha <vaghawan...@gmail.

Re: Existing javascript SDK for predicitonIO (0.10) ?

2017-04-10 Thread Vaghawan Ojha
Hi, Ok, in that case I am currently not aware of any js SDK like you wanted. Someone else may help. Thanks On Mon, Apr 10, 2017 at 6:14 PM, Mohamed Zouga wrote: > @vaghawan : i don't want to go posting my accessKey allover my requests > and writing verbose code when all

Re: Existing javascript SDK for predicitonIO (0.10) ?

2017-04-10 Thread Vaghawan Ojha
Hi, You could just use the REST API in case you need the query to be responded in plain java script. PIO provides REST api out of box already. Thanks On Mon, Apr 10, 2017 at 6:03 PM, Mohamed Zouga wrote: > I'am using PredictionIO in a web site, and i want to send the

Re: How Can I count events In The Event Server?

2017-04-10 Thread Vaghawan Ojha
nar...@gmail.com> wrote: > Hello, > > You can use the Event API : http://predictionio.incubator. > apache.org/datacollection/eventapi/ > > 2017-04-11 7:34 GMT+04:00 Vaghawan Ojha <vaghawan...@gmail.com>: > >> I suppose there should be a way to count the events in the ev

Re: Event server id

2017-04-11 Thread Vaghawan Ojha
Hi, If you are talking about entityId, yes they are stored in string. Fore more: http://predictionio.incubator.apache.org/datacollection/eventapi/ Thanks On Tue, Apr 11, 2017 at 3:45 PM, Dennis Honders wrote: > Hello, > > Are id's (like user id) always stored as a

Re: Cart/Complementary purchase recommendation with UR

2017-04-21 Thread Vaghawan Ojha
Ok, Thank you! On Wed, Apr 19, 2017 at 8:23 PM, Pat Ferrel <p...@occamsmachete.com> wrote: > The UR v0.6.0 will be out in days and make this much easier. > > > On Apr 19, 2017, at 4:02 AM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > > Hi Pat, > >

Re: Similar product template

2017-04-14 Thread Vaghawan Ojha
Sorry the email sent accidentally without finishing, it would be really helpful for me if you describe about in which case the multi model are being used. On Fri, Apr 14, 2017 at 7:01 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Hi Pat, > > This is really a great explanatio

Re: Similar product template

2017-04-14 Thread Vaghawan Ojha
Hi Pat, This is really a great explanation, I myself had tried ALS before CCO, but in my case CCO seems better. You had a nice presentation, but I was quite confused regarding multi-model recommendation. In what case does UR make use of multi model? For say, I've a location preference for every

Re: Cart/Complementary purchase recommendation with UR

2017-04-19 Thread Vaghawan Ojha
url -H "Content-Type: application/json" -d ' > { > "user": "CM/00074305/16", > "num":4, > "fields": [ > { > "name": "store_id", > "values": ["2"] > } >

Re: Cart/Complementary purchase recommendation with UR

2017-04-07 Thread Vaghawan Ojha
lose to as good it would be much easier since you can have user-based, > item-based and shopping carts recs from the same model. Otherwise one for > user-based and item-based and another for “complimentary purchases” would > make 2 trains and 2 models. > > > > On Apr 5, 2017, at

Re: How Does The Score Works In UR

2017-04-07 Thread Vaghawan Ojha
ard to state and we have found > no particular use for it. Other tuning parameters give you the best ways of > affecting the score so looking at the score afterwards is not very helpful > except to rank results. > > > On Apr 7, 2017, at 1:02 AM, Vaghawan Ojha <vaghawan...@gmail.c

Re: Invalid app name INVALID_APP_NAME

2017-04-18 Thread Vaghawan Ojha
../bin/pio build > ../bin/pio eval mlframework.AccuracyEvaluation mlframework.EngineParamsList > ../bin app list > > I will made new app right from scratch, even then this issue persists :( > > On Wed, Apr 19, 2017 at 9:00 AM, Vaghawan Ojha <vaghawan...@gmail.com> > wrote: >

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

Re: how to Clear trained data in predictionIO 0.11.0

2017-07-31 Thread Vaghawan Ojha
uery is return old label "spam" for >> predicted result, which is from email spam example. >> >> Also I tried to change the models directory used by localfs , but it >> looks like its refrering to old model file and gave >> error models/pio_modelAV2XQxw-3F2NA

Re: how to Clear trained data in predictionIO 0.11.0

2017-07-31 Thread Vaghawan Ojha
eleted all model data from elasticsearch, after > which newly trained data was picked up just fine. But looks like this is > not the proper way to do. Will post updates if I find any other findings. > > -Mahesh > > On Mon, Jul 31, 2017 at 2:11 PM, Vaghawan Ojha <vaghawan...@gmai

Re: Pio build success with error, pio train is faililng.

2017-07-28 Thread Vaghawan Ojha
On Thu, Jul 27, 2017 at 9:45 PM, Pat Ferrel <p...@occamsmachete.com> wrote: > Yes, a great article but it and the tapster demo do not use the UR. > > > On Jul 27, 2017, at 4:52 AM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > > Cool, > > Now every working

Re: Programitically trigger pio train and deploy

2017-07-30 Thread Vaghawan Ojha
Hi, It's possible by running the command with a shell script. For me, I trigger shell script from the program if I would need the command to run. Also, I'm using a cron job to regulate the pio train and deploy process using a shell script which is being triggered by the application. However,

Re: Retrieve all events with a list of entityId(s) as input

2017-08-04 Thread Vaghawan Ojha
Hi, I've done this by querying the EventServer, but you would have to loop with the entityId(s) which means that it gonna be slow. If you have large list to loop then there are more chances of timeout response. But anyway this is possible. You would just have to query the EventServer #get

Re: Exception: Job aborted due to stage failure: Task 0 in stage 3.0 failed 1 times,

2017-07-08 Thread Vaghawan Ojha
Hi, As much as I can understand from the error message, the Null Exception happens when you have wrong data or no data at all. Please make sure everything is fine in your data. Sometimes, the event store can store the data you provide, but the template you might be using may need other kind of

Re: Deleting / Reversing events in the event server

2017-07-27 Thread Vaghawan Ojha
se rather than passing in the "block" events. I didn't think of this. > > On Thu, Jul 27, 2017 at 11:15 AM, Vaghawan Ojha <vaghawan...@gmail.com> > wrote: > >> So you're not sending the blocklisted items in query like this right? >> >> "blacklistIt

Re: Deleting / Reversing events in the event server

2017-07-26 Thread Vaghawan Ojha
Hi Mattz, You could just use $set, $unset to achieve this. When user wish to unblock the item, just send in another request in the event server to update the event. This would solve your problem from as much as I know from using pio eventserver. you could find the examples here.

Re: Deleting / Reversing events in the event server

2017-07-26 Thread Vaghawan Ojha
anually find all the things blocked and filter from > list to get my result set. But, if I send "blocked" as a regular event, PIO > automatically filters out items that were blocked by the user. > > On Thu, Jul 27, 2017 at 10:59 AM, Vaghawan Ojha <vaghawan...@gmail.com>

Re: Deleting / Reversing events in the event server

2017-07-26 Thread Vaghawan Ojha
"universal recommender" template. > > On Thu, Jul 27, 2017 at 11:09 AM, Vaghawan Ojha <vaghawan...@gmail.com> > wrote: > >> Oh Yes Mattz, I seems to have misunderstood your situation. I thought >> that you were having that blocked prop as a properties or

Re: Error while doing client.create in Prediction IO Java Client

2017-07-26 Thread Vaghawan Ojha
error. Any pointers? > > Thanks, > Anshu > > On 26-Jul-2017 8:50 PM, "Vaghawan Ojha" <vaghawan...@gmail.com> wrote: > >> Hi, >> >> Are you able to import the events using curl? >> >> I think you could probably see this line "lang.

Knowing the probability of purchase

2017-04-24 Thread Vaghawan Ojha
Hi, I was following a research paper regarding the probability of a user buying a particular item recommended by the recommendation system. It's here, if you want to checkout as well http://www.kecl.ntt.co.jp/as/members/iwata/doctor.pdf I was wondering if there is a way or anybody has done with

Re: how to Clear trained data in predictionIO 0.11.0

2017-07-31 Thread Vaghawan Ojha
I think, when you retrain the model, the trained model will automatically change. Thanks On Mon, Jul 31, 2017 at 1:33 PM, Mahesh Hegde wrote: > pio app delete-data deletes only event data, > > I wanted to know , how to clean the trained data. > I am using

Re: Deploying multiple Prediction IO engines simultaneously

2017-08-09 Thread Vaghawan Ojha
Hi, Although, this page (https://predictionio.incubator.apache.org/deploy/) and this page (https://predictionio.incubator.apache.org/deploy/enginevariants/) both are silent in regarding how many different Prediction IO engines you could deploy on a machine. I don't think there is a limitation on

Re: Error while training : NegativeArraySizeException

2017-06-07 Thread Vaghawan Ojha
the event sent to the eventserver ( *view *) > and in the engine.json ( *view *). > > I am reading the code to figure out where this error comes from. > > > > 2017-06-07 10:17 GMT+02:00 Vaghawan Ojha <vaghawan...@gmail.com>: > >> You could explicitly do >> &

Re: Error while training : NegativeArraySizeException

2017-06-07 Thread Vaghawan Ojha
You could explicitly do pio train -- --master spark://localhost:7077 --driver-memory 16G --executor-memory 24G and change the spark master url and the memories configuration. And see if that works. Thanks On Wed, Jun 7, 2017 at 1:55 PM, Bruno LEBON wrote: > Hi, > > Using

Re: Error while training : NegativeArraySizeException

2017-06-07 Thread Vaghawan Ojha
Also what version of UR you're into? Is it the latest one? I've only worked with UR 0.50 . On Wed, Jun 7, 2017 at 3:12 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Yes you need to build the app again when you change something in the > engine.json. That is every time whe

Re: Deploying Multiple App in Same Machine

2017-05-04 Thread Vaghawan Ojha
Sorry, it did work. the content was coming from the cache. Thank you very much, I just changed the ES indexNames. Thank you On Thu, May 4, 2017 at 1:32 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Hi Pat, > > Thanks, I had the same Index names in engine.json. I c

Re: Missing lib folder and contents

2017-05-04 Thread Vaghawan Ojha
Seems like you haven't done ./make-distribution.sh . Follow the full installation process https://predictionio.incubator.apache.org/install/install-sourcecode/ On Thu, May 4, 2017 at 5:24 PM, Brian Sexton wrote: > > > Hi > > Im getting the following error when i try to

Re: Missing lib folder and contents

2017-05-04 Thread Vaghawan Ojha
at Engager > > *M* +353 86 035 3453 <+353%2086%20035%203453> > > *E* briansex...@engager.ie <briansex...@engager.ie?subject=Hey%20there!> > > *W* www.engager.ie > <https://www.facebook.com/EngagerIre/> <https://twitter.com/engagerire> ><https://www.

Re: How $set events works together?

2017-05-04 Thread Vaghawan Ojha
user objects in the > EventStore. Users are represented by the collection of their events, not > properties. > > > On May 3, 2017, at 10:47 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > > Hi Marius, > > Thank you very much for the quick reply. That helps, thank you. &g

Re: How $set events works together?

2017-05-03 Thread Vaghawan Ojha
gt; > 2017-05-04 9:25 GMT+04:00 Vaghawan Ojha <vaghawan...@gmail.com>: > >> Hi, >> >> It's quite a novice question, but I was curious how $set events are >> handled by the engine. >> >> For say I've a user1 buying item2 from the category fruits. >>

Re: Universal Recommender and PredictionIO 0.12.0 incompatibility

2017-10-04 Thread Vaghawan Ojha
Thank you for letting us know. Thanks On Thu, Oct 5, 2017 at 1:49 AM, Pat Ferrel wrote: > It looks like PIO 0.12.0 will require a code change in the UR. PIO changed > ES1 support drastically when ES5 support was added and broke the UR code. > > We will do a quick fix to the