using incubator-predictionio-template-text-classifier template. I tried deleting the app as well, even then it didnt work.
Could'nt figure-out what am i doing wrong. -Mahesh On Mon, Jul 31, 2017 at 2:24 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Ok, which template were you using (Just curious). One other way would be > deleting the whole app, and creating a new one. But that too isn't an > efficient way. > > When you delete the data and retain the old model should be changed. > Something must be wrong. > > > Thanks > > On Mon, Jul 31, 2017 at 2:36 PM, Mahesh Hegde <mahesh.he...@tracxn.com> > wrote: > >> Does not seem to be permission issue as well, i verified it by, trying to >> run train just after deleting the event data, which gave error as expected. >> Yes i have verified app name in delete command. >> >> As a temporary fix i deleted 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...@gmail.com> >> wrote: >> >>> Could you please make sure, you deleted the data of a right app, I meant >>> the app should be correct. Is there any permission issues? >>> >>> On Mon, Jul 31, 2017 at 2:19 PM, Mahesh Hegde <mahesh.he...@tracxn.com> >>> wrote: >>> >>>> Also after deleting the data, i built , trained and deployed, still i >>>> am getting old label in predicted result. >>>> >>>> -Mahesh >>>> >>>> On Mon, Jul 31, 2017 at 2:03 PM, Mahesh Hegde <mahesh.he...@tracxn.com> >>>> wrote: >>>> >>>>> I retrained with new data after deleting the old event data with pio >>>>> app data-delete my_app_name , even then my query 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-3F2NATbCwlg3 file doesnt exist. >>>>> >>>>> -Mahesh >>>>> >>>>> On Mon, Jul 31, 2017 at 1:19 PM, Vaghawan Ojha <vaghawan...@gmail.com> >>>>> wrote: >>>>> >>>>>> 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 < >>>>>> mahesh.he...@tracxn.com> wrote: >>>>>> >>>>>>> pio app delete-data deletes only event data, >>>>>>> >>>>>>> I wanted to know , how to clean the trained data. >>>>>>> I am using elasticsearch (metadata) , hbase (eventdata) and >>>>>>> localfs(model data) stack >>>>>>> >>>>>>> -Mahesh >>>>>>> >>>>>>> This email is subject to Tracxn's Email Policy >>>>>>> <https://tracxn.com/emailpolicy> >>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> This email is subject to Tracxn's Email Policy >>>> <https://tracxn.com/emailpolicy> >>>> >>> >>> >> >> This email is subject to Tracxn's Email Policy >> <https://tracxn.com/emailpolicy> >> > > -- This email is subject to Tracxn's Email Policy <https://tracxn.com/emailpolicy>