Thanks, but i was using linear kernel. However the problem seems due to the 
OneClassSVM not converged. 
i.e. the obj = inf and rho is a very very big number if i set the verbose to 
True and limit the number of the iteration.

But from the http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html, the libsvm 
should always converge, 
Any ideas why it's not converge then?


On Aug 1, 2013, at 7:27 PM, Gael Varoquaux <[email protected]> 
wrote:

> On Thu, Aug 01, 2013 at 03:25:02PM +0800, Terry Peng wrote:
>> But i got very strange result when predict on the training data: it predict
>> almost all the training data 
>> as -1. but i expected only ~10 (since nu=0.1) predicted as -1.
> 
> Agreed, I would be surprised too.
> 
> If I were you, I would try increasing the radius of the RBF kernel.
> 
> G
> 
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent 
> caught up. So what steps can you take to put your SQL databases under 
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to