2.8.29 Release notes
This release includes enhancements to list_tests() to display artifact types in the output and improvements to predict_fn in init_model to support multiple output columns.
Enhancements
Enhance list_tests() to show artifact types in output
We have enhanced the list_tests() function to include additional columns in its output. These columns now display the types of artifacts each test in the ValidMind Library produces, providing clearer insights into test results. Additionally, you now benefit from explicit return type annotations and updated function signatures with appropriate type hints, ensuring better clarity and precision in the codebase.
Documentation
Enhance predict_fn in init_model to support multiple output columns
This update enhances the predict_fn callable function parameter in init_model to support multiple output columns. You can now return either a single value or a dictionary from the function. If a dictionary is returned, the key named prediction will be used as the prediction column. Additional keys in the dictionary can be included as extra columns in the dataset object.