AI article

I converted 126 tree models to ONNX by following the docs. Here is what changed.

Community description: I wanted to know how often the documented way of converting a tree model to ONNX produces a file that...

Dev.to | Oct 3, 2026 | Milivoje Simonović

Automated excerpt

The converted ONNX file sends NaN a fixed way instead. Breast cancer, one decision tree, one NaN in the input: scikit-learn returns probabilities [0. 0, 1. 0], the ONNX file returns [1. 0, 0. 0]. On the wine random forest, an input with four NaN values gets class 2 from scikit-learn and class 0 from the ONNX file.

Selected automatically from source text; not independently written or fact-checked. Read the original for full context.

Read the original article

More AI news