make_quickgrove_udf
make_quickgrove_udf(model_or_path, model_name=None)Create a UDF from a quickgrove (quickgrove) model.
Creates a user-defined function (UDF) that can be used in Ibis expressions from a quickgrove gradient boosted decision trees model.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| model_or_path | str | Path | PyGradientBoostedDecisionTrees | Either an already-loaded quickgrove model or a path to a saved model file. | required |
| model_name | str | None | Alternative model name, if the name extracted from the path is not a valid Python identifier. | None |
Returns
| Name | Type | Description |
|---|---|---|
| UDFWrapper | A wrapper object containing the UDF function, model, and metadata. The UDF can be called on Ibis expressions using .on_expr(). |