You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
implement (Linear)SVC predict and decision_function in pure Python #388
You mean also for the kernelized case?
Hm guess it is not so hard, but either we have to do compute the whole kernel matrix (on the support vectors) at one, which is very memory inefficient, or we have to do it for each vector separately, which will probably have a big looping overhead. So do it in cython using some cython distance functions?
Activity
ogrisel commentedon Oct 9, 2011
+1 for the benchmark and the reduced binding size if little perf decrease (say under 20%).
fabianp commentedon Oct 10, 2011
Nice idea. +1.
tehf0x commentedon Dec 5, 2011
+1 for decision_function in sparse.SVC, I was about to file a bug on that, but I guess I won't unless someone thinks it's worth it.
amueller commentedon Sep 13, 2012
You mean also for the kernelized case?
Hm guess it is not so hard, but either we have to do compute the whole kernel matrix (on the support vectors) at one, which is very memory inefficient, or we have to do it for each vector separately, which will probably have a big looping overhead. So do it in cython using some cython distance functions?
amueller commentedon Dec 8, 2017
the linear cases do this by now, the kernelized cases seem rather tricky. closing. Feel free to reopen if anyone wants to work on it
mohamed-ali commentedon Mar 30, 2018
@amueller @jnothman I think this issue can be closed thanks to PR #1143.
jnothman commentedon Apr 1, 2018
Thanks