On 04/18/2012 06:12 PM, Olivier Grisel wrote:
> Le 18 avril 2012 06:51, Dimitrios Pritsos a écrit :
>> Ok I ve created the Issue in Git ( I Guess this is the proper place to do
>> what Olivier suggested me in the last email in this list)
>>
>> however what is CV an where I can enable indices=True,
The *problem is restricted to Sparse Matrices* for dense Matrix
everything is working fine.
On 04/18/2012 04:51 PM, Dimitrios Pritsos wrote:
Ok I ve created the Issue in Git ( I Guess this is the proper place to
do what Olivier suggested me in the last email in this list)
however what i
Le 18 avril 2012 06:51, Dimitrios Pritsos a écrit :
>
> Ok I ve created the Issue in Git ( I Guess this is the proper place to do
> what Olivier suggested me in the last email in this list)
>
> however what is CV an where I can enable indices=True, as it is suggested to
> the following message:
I
Ok I ve created the Issue in Git ( I Guess this is the proper place to
do what Olivier suggested me in the last email in this list)
however what is CV an where I can enable indices=True, as it is
suggested to the following message:
ValueError: X and y have incompatible shapes: (180, 255) vs
On 04/17/2012 08:56 PM, Olivier Grisel wrote:
> Ok so this is a real bug. Please open an issue.
I don't really know how to do that !?
> Also I am curious: what does it mean to do OneClass SVM with a linear
> kernel? I thought OneClass SVM was for density estimation and I don't
> see how on could d
Ok so this is a real bug. Please open an issue.
Also I am curious: what does it mean to do OneClass SVM with a linear
kernel? I thought OneClass SVM was for density estimation and I don't
see how on could define a finite density function (even if not
normalized) with an hyperplane.
--
Olivier
-
On 04/17/2012 04:38 PM, Olivier Grisel wrote:
> Le 17 avril 2012 05:32, Dimitrios Pritsos a écrit :
>> Hello again
>>
>> I am trying to run an OneClassSVM() test:
>>
>> import sklearn.svm.sparse as sp_svm
>>
>> ocsvm = sp_svm.OneClassSVM(nu=0.5, kernel='linear')
>>
>> ocsvm.fit( ssp.csr_matrix
Le 17 avril 2012 05:32, Dimitrios Pritsos a écrit :
>
> Hello again
>
> I am trying to run an OneClassSVM() test:
>
> import sklearn.svm.sparse as sp_svm
>
> ocsvm = sp_svm.OneClassSVM(nu=0.5, kernel='linear')
>
> ocsvm.fit( ssp.csr_matrix(train_X, shape=train_X.shape, dtype=np.float64) )
>
>
> a