Open ogencoglu opened 1 month ago
Pinging @maximilianeber in case you found out a way
Pinging @maximilianeber in case you found out a way
Replied in the original thread in https://github.com/onnx/sklearn-onnx/issues/1051. We haven't managed to work around this and stuck to OHE for now.
HistGradientBoostingRegressor supports specification of
categorical_features
: https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.HistGradientBoostingRegressor.html#sklearn.ensemble.HistGradientBoostingRegressorWhat would be the correct
initial_type
inconvert_sklearn(model, initial_types)
to achieve this behaviour. Float inputs to ONNX are giving wrong predictions of course.