nextmv-py icon indicating copy to clipboard operation
nextmv-py copied to clipboard

Add options to Parameter type

Open ryanjoneil opened this issue 1 year ago • 0 comments

For scikit-learn and other integrations, I need to be able to do this:

    nextmv.Parameter(
        "criterion",
        str,
        choices=["squared_error", "friedman_mse", "absolute_error", "poisson"],
        description="The function to measure the quality of a split.",
    )

This PR adds that field to the Parameter type. It also corrects what I believe is an error in default handling.

ryanjoneil avatar Sep 21 '24 20:09 ryanjoneil