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

Add HasNumFeatures in the scala side

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment