Skip to content
Snippets Groups Projects
  • BenFradet's avatar
    f82ebb15
    [SPARK-12368][ML][DOC] Better doc for the binary classification evaluator' metricName · f82ebb15
    BenFradet authored
    For the BinaryClassificationEvaluator, the scaladoc doesn't mention that "areaUnderPR" is supported, only that the default is "areadUnderROC".
    Also, in the documentation, it is said that:
    "The default metric used to choose the best ParamMap can be overriden by the setMetric method in each of these evaluators."
    However, the method is called setMetricName.
    
    This PR aims to fix both issues.
    
    Author: BenFradet <benjamin.fradet@gmail.com>
    
    Closes #10328 from BenFradet/SPARK-12368.
    f82ebb15
    History
    [SPARK-12368][ML][DOC] Better doc for the binary classification evaluator' metricName
    BenFradet authored
    For the BinaryClassificationEvaluator, the scaladoc doesn't mention that "areaUnderPR" is supported, only that the default is "areadUnderROC".
    Also, in the documentation, it is said that:
    "The default metric used to choose the best ParamMap can be overriden by the setMetric method in each of these evaluators."
    However, the method is called setMetricName.
    
    This PR aims to fix both issues.
    
    Author: BenFradet <benjamin.fradet@gmail.com>
    
    Closes #10328 from BenFradet/SPARK-12368.