# LIBSVM vs sklearn

**URL:** https://discourse.julialang.org/t/libsvm-vs-sklearn/87235
**Category:** Machine Learning
**Created:** [September 13, 2022, 8:54pm UTC](https://discourse.julialang.org/t/libsvm-vs-sklearn/87235 "2022-09-13T20:54:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Maxim\_Lubov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maxim_lubov/32/29744_2.png) [@Maxim\_Lubov](https://discourse.julialang.org/u/Maxim_Lubov)
#### Post date: [September 13, 2022, 8:54pm UTC](https://discourse.julialang.org/t/libsvm-vs-sklearn/87235/1 "2022-09-13T20:54:38Z")

</div>

I’m trying to port the SVC-based modelling from python/sklearn to Julia using the LIBSVM.jl package. However, I noticed one strange thing. Sklearn SVC outperforms LIBSVM.jl, although both are based on the same libsvm library. Also, when I try to calculate probabilities after training models, I get different values for LIBSVM and sklearn with the same model parameters. Has anyone encountered the same behavior? How can this difference be explained?
