Skip to content
Snippets Groups Projects
  • Joseph K. Bradley's avatar
    9495c40f
    [SPARK-13008][ML][PYTHON] Put one alg per line in pyspark.ml all lists · 9495c40f
    Joseph K. Bradley authored
    This is to fix a long-time annoyance: Whenever we add a new algorithm to pyspark.ml, we have to add it to the ```__all__``` list at the top.  Since we keep it alphabetized, it often creates a lot more changes than needed.  It is also easy to add the Estimator and forget the Model.  I'm going to switch it to have one algorithm per line.
    
    This also alphabetizes a few out-of-place classes in pyspark.ml.feature.  No changes have been made to the moved classes.
    
    CC: thunterdb
    
    Author: Joseph K. Bradley <joseph@databricks.com>
    
    Closes #10927 from jkbradley/ml-python-all-list.
    9495c40f
    History
    [SPARK-13008][ML][PYTHON] Put one alg per line in pyspark.ml all lists
    Joseph K. Bradley authored
    This is to fix a long-time annoyance: Whenever we add a new algorithm to pyspark.ml, we have to add it to the ```__all__``` list at the top.  Since we keep it alphabetized, it often creates a lot more changes than needed.  It is also easy to add the Estimator and forget the Model.  I'm going to switch it to have one algorithm per line.
    
    This also alphabetizes a few out-of-place classes in pyspark.ml.feature.  No changes have been made to the moved classes.
    
    CC: thunterdb
    
    Author: Joseph K. Bradley <joseph@databricks.com>
    
    Closes #10927 from jkbradley/ml-python-all-list.