GitHub user mgaido91 opened a pull request:

    [SPARK-25090][ML] Enforce implicit type coercion in ParamGridBuilder

    ## What changes were proposed in this pull request?
    When the grid of the parameters is created in `ParamGridBuilder`, the 
implicit type coercion is not enforced. So using an integer in the list of 
parameters to set for a parameter accepting a double can cause a class cast 
    The PR proposes to enforce the type coercion when building the parameters.
    ## How was this patch tested?
    added UT

You can merge this pull request into a Git repository by running:

    $ git pull SPARK-25090

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22076
commit b5a59fdc71226323008561053cf918e079934f0a
Author: Marco Gaido <marcogaido91@...>
Date:   2018-08-11T10:07:31Z

    [SPARK-25090][ML] Enforce implicit type coercion in ParamGridBuilder



To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to