Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28968

Add HasNumFeatures in the scala side

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • 3.0.0
    • None
    • ML
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              podongfeng Ruifeng Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: