[scikit-learn] Converting Scikit-learn Models to C code

Adrin adrin.jalali at gmail.com
Thu Feb 10 07:26:40 EST 2022


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 at 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 at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20220210/fa15c8f0/attachment.html>


More information about the scikit-learn mailing list