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

LogisticRegressionWithSGD does not multiclass

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • MLlib
    • None

    Description

      LogisticRegressionWithSGD does not support Multi-Class input while LogisticRegressionWithLBFGS is OK.

      I found this line in error
      ```
      15/08/24 14:46:57 ERROR DataValidators: Classification labels should be 0 or 1. Found 50 invalid labels
      ```

      In LogisticRegressionWithLBFGS there is setNumClasses method but LogisticRegressionWithSGD does not have this method.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lucidfrontier45 Shiqiao Du
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: