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.
|
|
4 years ago | |
|---|---|---|
| .. | ||
| img | 4 years ago | |
| output | 4 years ago | |
| README.md | 4 years ago | |
| convert_to_onnx.py | 4 years ago | |
| onnx_infer.py | 4 years ago | |
| train.py | 4 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
