diff options
author | Yanbo Liang <ybliang8@gmail.com> | 2016-09-06 03:30:37 -0700 |
---|---|---|
committer | Yanbo Liang <ybliang8@gmail.com> | 2016-09-06 03:30:37 -0700 |
commit | 39d538dddf7d44bf4603c966d0f7b2c92f1e951a (patch) | |
tree | 3a172259e76f88f66098644efa4d57336bea42e1 /python/pyspark/ml | |
parent | 6f13aa7dfee12b1b301bd10a1050549008ecc67e (diff) | |
download | spark-39d538dddf7d44bf4603c966d0f7b2c92f1e951a.tar.gz spark-39d538dddf7d44bf4603c966d0f7b2c92f1e951a.tar.bz2 spark-39d538dddf7d44bf4603c966d0f7b2c92f1e951a.zip |
[MINOR][ML] Correct weights doc of MultilayerPerceptronClassificationModel.
## What changes were proposed in this pull request?
```weights``` of ```MultilayerPerceptronClassificationModel``` should be the output weights of layers rather than initial weights, this PR correct it.
## How was this patch tested?
Doc change.
Author: Yanbo Liang <ybliang8@gmail.com>
Closes #14967 from yanboliang/mlp-weights.
Diffstat (limited to 'python/pyspark/ml')
-rw-r--r-- | python/pyspark/ml/classification.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/ml/classification.py b/python/pyspark/ml/classification.py index d1522d78fa..b4c01fd5c4 100644 --- a/python/pyspark/ml/classification.py +++ b/python/pyspark/ml/classification.py @@ -1276,7 +1276,7 @@ class MultilayerPerceptronClassificationModel(JavaModel, JavaPredictionModel, Ja @since("2.0.0") def weights(self): """ - vector of initial weights for the model that consists of the weights of layers. + the weights of layers. """ return self._call_java("weights") |