Skip to content
  • Zheng RuiFeng's avatar
    16ca32ea
    [SPARK-15823][PYSPARK][ML] Add @property for 'accuracy' in MulticlassMetrics · 16ca32ea
    Zheng RuiFeng authored
    ## What changes were proposed in this pull request?
    `accuracy` should be decorated with `property` to keep step with other methods in `pyspark.MulticlassMetrics`, like `weightedPrecision`, `weightedRecall`, etc
    
    ## How was this patch tested?
    manual tests
    
    Author: Zheng RuiFeng <ruifengz@foxmail.com>
    
    Closes #13560 from zhengruifeng/add_accuracy_property.
    16ca32ea
    [SPARK-15823][PYSPARK][ML] Add @property for 'accuracy' in MulticlassMetrics
    Zheng RuiFeng authored
    ## What changes were proposed in this pull request?
    `accuracy` should be decorated with `property` to keep step with other methods in `pyspark.MulticlassMetrics`, like `weightedPrecision`, `weightedRecall`, etc
    
    ## How was this patch tested?
    manual tests
    
    Author: Zheng RuiFeng <ruifengz@foxmail.com>
    
    Closes #13560 from zhengruifeng/add_accuracy_property.
Loading