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 24F7D200CBF for ; Sat, 8 Jul 2017 10:24:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 236E716AC45; Sat, 8 Jul 2017 08:24:00 +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 434E916AC44 for ; Sat, 8 Jul 2017 10:23:59 +0200 (CEST) Received: (qmail 81168 invoked by uid 500); 8 Jul 2017 08:23:58 -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 81155 invoked by uid 99); 8 Jul 2017 08:23:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Jul 2017 08:23:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E0958C1954 for ; Sat, 8 Jul 2017 08:23:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.031 X-Spam-Level: X-Spam-Status: No, score=-3.031 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id uXItsaNL8X4n for ; Sat, 8 Jul 2017 08:23:56 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id DE63A5FE54 for ; Sat, 8 Jul 2017 08:23:55 +0000 (UTC) Received: (qmail 81149 invoked by uid 99); 8 Jul 2017 08:23:55 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Jul 2017 08:23:55 +0000 Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 5800E1A003E for ; Sat, 8 Jul 2017 08:23:54 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id q86so27359699pfl.3 for ; Sat, 08 Jul 2017 01:23:53 -0700 (PDT) X-Gm-Message-State: AIVw112CwJIFhkhfmTW9txSCLUXLSfE6pvAHCuMni1ksLwlYRBTk2+cQ t47DNeZD2TIGdjfg7CKBjbTJ0tg/GQ== X-Received: by 10.84.196.36 with SMTP id k33mr7315056pld.68.1499502232928; Sat, 08 Jul 2017 01:23:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.149.137 with HTTP; Sat, 8 Jul 2017 01:23:52 -0700 (PDT) In-Reply-To: <244DCAA5-A8B8-4D13-ACBD-57031EA54E46@occamsmachete.com> References: <244DCAA5-A8B8-4D13-ACBD-57031EA54E46@occamsmachete.com> From: Kenneth Chan Date: Sat, 8 Jul 2017 01:23:52 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Getting the probability values in the random forest classification template of PredictionIO To: user@predictionio.incubator.apache.org, rbagri72@gmail.com Content-Type: multipart/alternative; boundary="94eb2c18a16cef05aa0553ca1179" archived-at: Sat, 08 Jul 2017 08:24:00 -0000 --94eb2c18a16cef05aa0553ca1179 Content-Type: text/plain; charset="UTF-8" see here https://spark.apache.org/docs/latest/mllib-ensembles.html#prediction you can ask in Apache Spark's mailing list too. On Fri, Jun 30, 2017 at 4:09 AM, Pat Ferrel wrote: > You probably should ask on PredictionIO mailing list. > > Signup here: http://predictionio.incubator.apache.org/support/ > > > On Jun 29, 2017, at 10:33 PM, rbagri72@gmail.com wrote: > > Hey, > We are using the classification template > > of PredictionIO (algorithm modified to random forest instead of Naive > Bayes'). We wanted to ask how is the random forest classifying a test > input: By the number of votes each tree give or the mean of the probability > of each label in each tree)? Also, can we extract the mean probability of > each class for a particular input so that we can get an idea of how is the > strength of the prediction? And does this probability value reflect the > absolute tendency of the input to belong to the said class? > > -- > You received this message because you are subscribed to the Google Groups > "actionml-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to actionml-user+unsubscribe@googlegroups.com. > To post to this group, send email to actionml-user@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/actionml-user/e1e2291a-bdb6-4dc4-8d27-73ef1f1b57f8% > 40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > > --94eb2c18a16cef05aa0553ca1179 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
see here

you can ask = in Apache Spark's mailing list too.

On Fri, Jun 30, 2017 at 4:09 AM, Pat Ferr= el <pat@occamsmachete.com> wrote:
You probably should ask o= n PredictionIO mailing list.



On Jun 29, 2017, at 10:33 PM, rbagri72@gmail.com wrote:

= Hey,
We are using the classific= ation template of PredictionIO (algorithm modified to random forest ins= tead of Naive Bayes'). We wanted to ask how is the random forest classi= fying a test input: By the number of votes each tree give or the mean of th= e probability of each label in each tree)? Also, can we extract the mean pr= obability of each class for a particular input so that we can get an idea o= f how is the strength of the prediction? And does this probability value re= flect the absolute tendency of the input to belong to the said class?
=

--
You received this message because you are subscribed to the Google Groups &= quot;actionml-user" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to actionml-user+unsubscribe@googlegroups.com.
To post to this group, send email to actionml-user@googlegroups.com.
To view this discussion on the web visit https:/= /groups.google.com/d/msgid/actionml-user/e1e2291a-bdb6-4dc4-8d27-= 73ef1f1b57f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--94eb2c18a16cef05aa0553ca1179--