nextmv-py
nextmv-py copied to clipboard
Add options to Parameter type
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.