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

Fix wrong doc about Mean Absolute Error

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.1.2, 2.2.1, 2.3.0
    • Component/s: Documentation, MLlib
    • Labels:
      None

      Description

      Fix wrong doc for MAE in webpage.

      Even though the code is correct for the MAE:

      @Since("1.2.0")
        def meanAbsoluteError: Double = {
          summary.normL1(1) / summary.count
        }
      

      In the documentation the division by n is missing.

        Attachments

          Activity

            People

            • Assignee:
              FavioVazquez Favio Vázquez
              Reporter:
              FavioVazquez Favio Vázquez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: