Skip to content
  • Marco Gaido's avatar
    e836c27c
    [SPARK-23217][ML][PYTHON] Add distanceMeasure param to ClusteringEvaluator Python API · e836c27c
    Marco Gaido authored
    ## What changes were proposed in this pull request?
    
    The PR adds the `distanceMeasure` param to ClusteringEvaluator in the Python API. This allows the user to specify `cosine` as distance measure in addition to the default `squaredEuclidean`.
    
    ## How was this patch tested?
    
    added UT
    
    Author: Marco Gaido <marcogaido91@gmail.com>
    
    Closes #20627 from mgaido91/SPARK-23217_python.
    e836c27c
    [SPARK-23217][ML][PYTHON] Add distanceMeasure param to ClusteringEvaluator Python API
    Marco Gaido authored
    ## What changes were proposed in this pull request?
    
    The PR adds the `distanceMeasure` param to ClusteringEvaluator in the Python API. This allows the user to specify `cosine` as distance measure in addition to the default `squaredEuclidean`.
    
    ## How was this patch tested?
    
    added UT
    
    Author: Marco Gaido <marcogaido91@gmail.com>
    
    Closes #20627 from mgaido91/SPARK-23217_python.
Loading