Skip to content

Commit

Permalink
Merged to master. Added persistence to DecisionTreeRegressionModel
Browse files Browse the repository at this point in the history
  • Loading branch information
GayathriMurali committed Mar 23, 2016
1 parent 0154444 commit 540fe8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/ml/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def _create_model(self, java_model):


@inherit_doc
class DecisionTreeModel(JavaModel, MLWritable, MLReadable):
class DecisionTreeModel(JavaModel):
"""Abstraction for Decision Tree models.
.. versionadded:: 1.5.0
Expand Down Expand Up @@ -506,7 +506,7 @@ def __repr__(self):


@inherit_doc
class DecisionTreeRegressionModel(DecisionTreeModel):
class DecisionTreeRegressionModel(DecisionTreeModel, MLWritable, MLReadable):
"""
Model fitted by DecisionTreeRegressor.
Expand Down

0 comments on commit 540fe8e

Please sign in to comment.