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

Fix wrong doc about Mean Absolute Error

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.1.2, 2.2.1, 2.3.0
    • Documentation, MLlib
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: