Github user MLnick commented on the pull request:
https://github.com/apache/spark/pull/11216#issuecomment-187700646
@mengxr I could see value `1` being used in a cross-validation setup. But
do we really want to allow `<=0` param values? I don't think it makes a lot of
sense to return a zero-length vector for a non-zero length input. There's no
real use case for this.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]