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 85D3C200BBD for ; Tue, 25 Oct 2016 08:02:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 84BAA160B00; Tue, 25 Oct 2016 06:02: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 B66A8160AEB for ; Tue, 25 Oct 2016 08:01:59 +0200 (CEST) Received: (qmail 32663 invoked by uid 500); 25 Oct 2016 06:01:58 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 32640 invoked by uid 99); 25 Oct 2016 06:01:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2016 06:01:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 702812C0086 for ; Tue, 25 Oct 2016 06:01:58 +0000 (UTC) Date: Tue, 25 Oct 2016 06:01:58 +0000 (UTC) From: "Joseph K. Bradley (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-18088) ChiSqSelector FPR PR cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 25 Oct 2016 06:02:00 -0000 [ https://issues.apache.org/jira/browse/SPARK-18088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph K. Bradley updated SPARK-18088: -------------------------------------- Description: There are several cleanups I'd like to make as a follow-up to the PRs from [SPARK-17017]: * Clarify FPR, alpha, p-value relationship in docs and param naming ** I'd like to remove "alpha" since it is such a generic name. * Rename selectorType values to match corresponding Params * Add Since tags where missing * a few minor cleanups One major item: FPR is not implemented correctly. Testing against only the p-value and not the test statistic does not really tell you anything. We should follow sklearn's default for starters: [http://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.f_classif.html#sklearn.feature_selection.f_classif] was: There are several cleanups I'd like to make as a follow-up to the PRs from [SPARK-17017]: * Clarify FPR, alpha, p-value relationship in docs and param naming ** I'd like to remove "alpha" since it is such a generic name. * Rename selectorType values to match corresponding Params * Add Since tags where missing * a few minor cleanups > ChiSqSelector FPR PR cleanups > ----------------------------- > > Key: SPARK-18088 > URL: https://issues.apache.org/jira/browse/SPARK-18088 > Project: Spark > Issue Type: Improvement > Components: ML > Reporter: Joseph K. Bradley > Assignee: Joseph K. Bradley > Priority: Minor > > There are several cleanups I'd like to make as a follow-up to the PRs from [SPARK-17017]: > * Clarify FPR, alpha, p-value relationship in docs and param naming > ** I'd like to remove "alpha" since it is such a generic name. > * Rename selectorType values to match corresponding Params > * Add Since tags where missing > * a few minor cleanups > One major item: FPR is not implemented correctly. Testing against only the p-value and not the test statistic does not really tell you anything. We should follow sklearn's default for starters: [http://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.f_classif.html#sklearn.feature_selection.f_classif] -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org