Skip to content

Commit 8c94570

Browse files
committed
Rename MultilayerPerceptronClassifierModel to MultilayerPerceptronClassificationModel
1 parent abec976 commit 8c94570

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/pyspark/ml/classification.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
'DecisionTreeClassificationModel', 'GBTClassifier', 'GBTClassificationModel',
2828
'RandomForestClassifier', 'RandomForestClassificationModel', 'NaiveBayes',
2929
'NaiveBayesModel', 'MultilayerPerceptronClassifier',
30-
'MultilayerPerceptronClassifierModel']
30+
'MultilayerPerceptronClassificationModel']
3131

3232

3333
@inherit_doc
@@ -879,7 +879,7 @@ def setParams(self, featuresCol="features", labelCol="label", predictionCol="pre
879879
return self._set(**kwargs)
880880

881881
def _create_model(self, java_model):
882-
return MultilayerPerceptronClassifierModel(java_model)
882+
return MultilayerPerceptronClassificationModel(java_model)
883883

884884
def setLayers(self, value):
885885
"""
@@ -908,7 +908,7 @@ def getBlockSize(self):
908908
return self.getOrDefault(self.blockSize)
909909

910910

911-
class MultilayerPerceptronClassifierModel(JavaModel):
911+
class MultilayerPerceptronClassificationModel(JavaModel):
912912
"""
913913
Model fitted by MultilayerPerceptronClassifier.
914914
"""

0 commit comments

Comments
 (0)