Converting Scikit-learn Models to C code
Hi, I use scikit-learn to train machine learning models such as neural networks and SVM in my research. I would like to convert the model files (.joblib files) to C code. I wonder whether there are any software tools to do this? Thank you. David
Hi, For purposes other than teaching, you should't use the neural network implementation provided in sklearn. For SVMs, you could try ONNX, it's not C, but it may satisfy your requirement. Best, Adrin On Thu, Feb 10, 2022 at 1:18 PM David Tian via scikit-learn < scikit-learn@python.org> wrote:
Hi,
I use scikit-learn to train machine learning models such as neural networks and SVM in my research. I would like to convert the model files (.joblib files) to C code. I wonder whether there are any software tools to do this?
Thank you. David _______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn
participants (2)
-
Adrin -
David Tian