Re: [Scikit-learn-general] sparse matrices with LinearSVC

2014-07-24 Thread Pagliari, Roberto
That was version 0.6 I realized, so I guess it no longer applies From: Mathieu Blondel [mailto:[email protected]] Sent: Thursday, July 24, 2014 4:49 AM To: scikit-learn-general Subject: Re: [Scikit-learn-general] sparse matrices with LinearSVC On Thu, Jul 24, 2014 at 2:46 PM, Pagliari

Re: [Scikit-learn-general] sparse matrices with LinearSVC

2014-07-24 Thread Pagliari, Roberto
It is working now, I don't know why it was not working yesterday . -Original Message- From: Alexandre Gramfort [mailto:[email protected]] Sent: Thursday, July 24, 2014 4:00 AM To: scikit-learn-general Subject: Re: [Scikit-learn-general] sparse matrices

Re: [Scikit-learn-general] sparse matrices with LinearSVC

2014-07-24 Thread Mathieu Blondel
On Thu, Jul 24, 2014 at 2:46 PM, Pagliari, Roberto wrote: > I also tried to import sparse.LinearSVC, but it says svm has no module > named sparse…. > > > I don't know where you get your documentation but sparse.LinearSVC has been removed like 3 years ago... :-) Mathieu --

Re: [Scikit-learn-general] sparse matrices with LinearSVC

2014-07-24 Thread Alexandre Gramfort
> Is it possible to use scipy sparse matrices with LinearSVC? sklearn.svm.LinearSVC will accept sparse data. it's the same classes that should work with both dense and sparse data A -- Want fast and easy access to all t

Re: [Scikit-learn-general] sparse matrices with LinearSVC

2014-07-23 Thread Caleb
It is strange. I use sparse matrices with LinearSVC all the time. can you provide some code example? --- Caleb > On 24 Jul, 2014, at 1:46 pm, "Pagliari, Roberto" > wrote: > > Is it possible to use scipy sparse matrices with LinearSVC? > > I tried and it does not work. > > I also tried to i

[Scikit-learn-general] sparse matrices with LinearSVC

2014-07-23 Thread Pagliari, Roberto
Is it possible to use scipy sparse matrices with LinearSVC? I tried and it does not work. I also tried to import sparse.LinearSVC, but it says svm has no module named sparse \ Thank you, -- Want fast and easy acce