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

In CountVectorizer, only read binary parameter once per transform, not once per row

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 4.0.0
    • ML

    Description

      SPARK-13629 added a binary parameter to CountVectorizer, but due to the way the code is structured the configuration parameter is read once-per-row in a UDF. Instead, we should read it once-per-transform call (similar to how other parameters are read).

      Attachments

        Issue Links

          Activity

            People

              joshrosen Josh Rosen
              joshrosen Josh Rosen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: