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

SVM implementation does not use threshold parameter

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • MLlib
    • None

    Description

      The key error is in SVM.scala, in `predictPoint`

      ```
      threshold match

      { case Some(t) => if (margin < 0.0) 0.0 else 1.0 case None => margin }

      ```

      Attachments

        Activity

          People

            Unassigned Unassigned
            tulloch Andrew Tulloch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified