You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "zhengruifeng (Jira)" <ji...@apache.org> on 2019/09/06 08:54:00 UTC

[jira] [Resolved] (SPARK-28968) Add HasNumFeatures in the scala side

     [ https://issues.apache.org/jira/browse/SPARK-28968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zhengruifeng resolved SPARK-28968.
----------------------------------
    Resolution: Resolved

> Add HasNumFeatures in the scala side
> ------------------------------------
>
>                 Key: SPARK-28968
>                 URL: https://issues.apache.org/jira/browse/SPARK-28968
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 3.0.0
>            Reporter: zhengruifeng
>            Priority: Minor
>
> In the py side, HasNumFeatures is provided and inherited by 'HashingTF' and 'FeatureHasher'.
> It is reasonable to also add HasNumFeatures in the scala side.
> Since '1<<18' is used by default in all place, we should add it as a default into param trait.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org