[scikit-learn] Question about LDA's coef_ attribute

Serafeim Loukas seralouk at gmail.com
Mon Oct 16 11:02:46 EDT 2017


Dear Alex,

Thank you for the prompt response.

Are the eigenvectors stored in some variable ?
Does the lda.scalings_ attribute contain the eigenvectors ?

Best,
Serafeim

> On 16 Oct 2017, at 16:57, Alexandre Gramfort <alexandre.gramfort at inria.fr> wrote:
> 
> no it stores the direction of the decision function to match the API of
> linear models.
> 
> HTH
> Alex
> 
> On Mon, Oct 16, 2017 at 3:27 PM, Serafeim Loukas <seralouk at gmail.com> wrote:
>> Dear Scikit-learn community,
>> 
>> Since the documentation of the LDA
>> (http://scikit-learn.org/stable/modules/generated/sklearn.discriminant_analysis.LinearDiscriminantAnalysis.html)
>> is not so clear, I would like to ask if the lda.coef_ attribute stores the
>> eigenvectors from the SVD decomposition.
>> 
>> Thank you in advance,
>> Serafeim
>> 
>> _______________________________________________
>> scikit-learn mailing list
>> scikit-learn at python.org
>> https://mail.python.org/mailman/listinfo/scikit-learn
>> 
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20171016/505c7da3/attachment-0001.html>


More information about the scikit-learn mailing list