Re: [Scikit-learn-general] LinearSVC loss and penalty functions

2014-07-28 Thread Andy
On 07/28/2014 06:04 PM, Pagliari, Roberto wrote: I'm getting an error when I try to use the following combinations: Penalty: l1, loss: l1, regardless of dual Penalty: l1, loss: l2 when dual=True Penalty=l2, loss=l1, when dual = False Is this the expected behavior? Yes. This is the behavior

[Scikit-learn-general] LinearSVC loss and penalty functions

2014-07-28 Thread Pagliari, Roberto
I'm getting an error when I try to use the following combinations: Penalty: l1, loss: l1, regardless of dual Penalty: l1, loss: l2 when dual=True Penalty=l2, loss=l1, when dual = False Is this the expected behavior? Thank you,