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

Decision Tree loader does not handle uppercase impurity param values

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: ML
    • Labels:

      Description

      I saved a CrossValidatorModel with a decision tree and a random forest. I use Paramgrid to test "gini" and "entropy" impurity. CrossValidatorModel are not able to load the saved model, when impurity are written not in lowercase. I obtain an error from Spark "impurity Gini (Entropy) not recognized.

        Attachments

          Activity

            People

            • Assignee:
              facai Yan Facai (颜发才)
              Reporter:
              zsellami Zied Sellami
              Shepherd:
              Joseph K. Bradley
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: