Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 205E3200CD6 for ; Mon, 31 Jul 2017 10:33:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D4A216498F; Mon, 31 Jul 2017 08:33:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3BA14164984 for ; Mon, 31 Jul 2017 10:33:53 +0200 (CEST) Received: (qmail 14687 invoked by uid 500); 31 Jul 2017 08:33:52 -0000 Mailing-List: contact user-help@predictionio.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@predictionio.incubator.apache.org Delivered-To: mailing list user@predictionio.incubator.apache.org Received: (qmail 14677 invoked by uid 99); 31 Jul 2017 08:33:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2017 08:33:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CEDA41A1B96 for ; Mon, 31 Jul 2017 08:33:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.771 X-Spam-Level: **** X-Spam-Status: No, score=4.771 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_IMAGE_ONLY_24=1.282, HTML_MESSAGE=2, JMQ_TRACKER=0.5, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=tracxn-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XT1_wDNfayCc for ; Mon, 31 Jul 2017 08:33:49 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 70F815FAF3 for ; Mon, 31 Jul 2017 08:33:49 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id g131so177216694oic.3 for ; Mon, 31 Jul 2017 01:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tracxn-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=w9gW4ECYM5S6yTT6EXbtlleWxxANJ1x0BqPmND65qC8=; b=lOE1h8LkjcbKkd5NcxtqP8cfhpbCve4cpK3YOImEhBHFCBvN6BcQDrNVqcXpG8ZXHJ B8+6t33eb5eE5GiScTAnTgUxvnAbn3rfXRLw+DdBrp0nPnH6gUZD3WMmY1YparwNXaw7 5epLnKwwpjIoZserugq+OLxu/W5i1aV1s9KwD1srg34EkuUfWO0vR1xWRFDoNi9cxzzR Zka2osfNp7cprz7xCdCnT4242hMpqmVTNLbAbaGPxMi+Mwh4CHxph/gsYBqZH50lNtNp Vnvg4pUfN2o/3WCItwx2pJqXlZePMA0dI6bCV5d1onQV+uhUQXp8QcYXZEKOVgPqAcYI AqSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=w9gW4ECYM5S6yTT6EXbtlleWxxANJ1x0BqPmND65qC8=; b=RrL45FEZKS6RnJg82Jn85ad7k0olEJFtsJ+4f4XUiA71efj7QRwV3Gm7GriA5LnpbG S4mqFTLGV4yVECLJ3DQkrruL14W8IIyLy1oo/O/yFBWKzFqc+v57ScJDpoPBwJsORtQx qsYDUhbjJ1q8Em3rXuenmKCyWqF9RuuzLFzcn1Sh5yqPVvmWrWK0LfK/CluP7lXaFEg3 hf0/TZAlPff+5I1V9M0R74gz8F3HDQwMB5VeLTtvnEbbCq1bwWr9Zt1rGeZILWZwmPMB pK8MBJ8keojYe3IZ2Ti0mxoUidJG/kfV0Oig0qC3CVvVxuIyS8iqCVqcOFFzhoA46mwN ueuA== X-Gm-Message-State: AIVw110KJ0tgBd8Cr3xIQcQuX0/3qFTD0LvIg2eh3AC9U1ZSteL7CTm7 Ng8BcQY5Z/O2BSLoC06a/TAJRChNQtORYPHE51fZAk8O6zKUVZxcte1Ia7K+tKRTc0BijHIOiSE NUOzNazDNJbvwnEX4iVCZRdb5tlwwI6v+1RZ2by1mKEc= X-Received: by 10.202.71.193 with SMTP id u184mr12903865oia.218.1501490022714; Mon, 31 Jul 2017 01:33:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.27.72 with HTTP; Mon, 31 Jul 2017 01:33:42 -0700 (PDT) In-Reply-To: References: From: Mahesh Hegde Date: Mon, 31 Jul 2017 14:03:42 +0530 Message-ID: Subject: Re: how to Clear trained data in predictionIO 0.11.0 To: user@predictionio.incubator.apache.org Content-Type: multipart/alternative; boundary="001a113e54c0702064055598e3b8" archived-at: Mon, 31 Jul 2017 08:33:54 -0000 --001a113e54c0702064055598e3b8 Content-Type: text/plain; charset="UTF-8" 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 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 > 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 >> > > > -- This email is subject to Tracxn's Email Policy --001a113e54c0702064055598e3b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I retrained with new data after deleting the old event dat= a with pio app data-delete my_app_name , even then my query is return old l= abel "spam" for predicted result, which is from email spam exampl= e.

Also I tried to change the models directory used by l= ocalfs , but it looks like its refrering to old model file and gave error= =C2=A0models/pio_modelAV2XQxw-3F2NATbCwlg3 file doesnt exist.
-Mahesh

On Mon, Jul 31, 2017 at 1:19 PM, Vaghawan Ojha <vaghawan= 781@gmail.com> wrote:
I think, when you retrain the model, the trained model will aut= omatically change.=C2=A0

Thanks


On Mon, Jul 31, 2017 at 1:33 PM, M= ahesh Hegde <mahesh.hegde@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 Tra= cxn's Emai= l Policy



This email is subject to Tracxn's Email Policy= --001a113e54c0702064055598e3b8--