Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29363

o.a.s.ml.regression.Regressor should be public

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.3.0, 2.4.4, 3.0.0
    • 3.0.0
    • ML
    • None

    Description

      At the moment o.a.s.ml.regression.Regressor is marked as private[spark].

      This however is inconsistent with the rest of the API:

      • Similarly positioned o.a.s.ml.classification.Classifier is public.
      • Accompanying o.a.s.regression.RegressionModel is public

      Additionally it hides useful information from the end user, who might be interested in defining methods which operate specifically on Regressors (should other regressor-like Estimators extend Regressor as well? Let's say DecisionTreeRegressor).

      Attachments

        Issue Links

          Activity

            People

              zero323 Maciej Szymkiewicz
              zero323 Maciej Szymkiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: