You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Drew Bednar 14a3a6f182 | 3 years ago | |
---|---|---|
.. | ||
img | 3 years ago | |
output | 3 years ago | |
README.md | 3 years ago | |
convert_to_onnx.py | 3 years ago | |
onnx_infer.py | 3 years ago | |
train.py | 3 years ago |
README.md
sklearn example
This is a simple demo showing the training of Random Forest Classifier, serializing it as a pickle file, converting it to an Onnx model, then making inferences using the Onnx model.
Usage
Train the model
python train.py
Convert to Onnx
python convert_to_onnx.py ./output/model.pkl
Make inferences
python onnx_infer.py ./output/clr_model.onnx