Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-21976][DOC] Fix wrong documentation for Mean Absolute Error.
## What changes were proposed in this pull request? Fixed wrong documentation for Mean Absolute Error. Even though the code is correct for the MAE: ```scala Since("1.2.0") def meanAbsoluteError: Double = { summary.normL1(1) / summary.count } ``` In the documentation the division by N is missing. ## How was this patch tested? All of spark tests were run. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: FavioVazquez <[email protected]> Author: faviovazquez <[email protected]> Author: Favio André Vázquez <[email protected]> Closes #19190 from FavioVazquez/mae-fix. (cherry picked from commit e2ac2f1) Signed-off-by: Sean Owen <[email protected]>
- Loading branch information