aboutsummaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-03-31 09:39:15 -0700
committerXiangrui Meng <meng@databricks.com>2016-03-31 09:39:15 -0700
commit208fff3ac87f200fd4e6f0407d70bf81cf8c556f (patch)
treee67c4e7e77cdab6bac2311b34b0edd36aed66378 /yarn
parenta9b93e07391faede77dde4c0b3c21c9b3f97f8eb (diff)
downloadspark-208fff3ac87f200fd4e6f0407d70bf81cf8c556f.tar.gz
spark-208fff3ac87f200fd4e6f0407d70bf81cf8c556f.tar.bz2
spark-208fff3ac87f200fd4e6f0407d70bf81cf8c556f.zip
[SPARK-14164][MLLIB] Improve input layer validation of MultilayerPerceptronClassifier
## What changes were proposed in this pull request? This issue improves an input layer validation and adds related testcases to MultilayerPerceptronClassifier. ```scala - // TODO: how to check ALSO that all elements are greater than 0? - ParamValidators.arrayLengthGt(1) + (t: Array[Int]) => t.forall(ParamValidators.gt(0)) && t.length > 1 ``` ## How was this patch tested? Pass the Jenkins tests including the new testcases. Author: Dongjoon Hyun <dongjoon@apache.org> Closes #11964 from dongjoon-hyun/SPARK-14164.
Diffstat (limited to 'yarn')
0 files changed, 0 insertions, 0 deletions