The problem was that I had a loop like
for i in xrange(len(clf.feature_importances_)):
print clf.feature_importances_[i]
which recomputes the feature importance array in every step.
Obvious in hindsight.
Raphael
On 21 July 2016 at 16:22, Raphael C wrote:
> I have a set of feature vectors
gt; https://mail.python.org/mailman/listinfo/scikit-learn
> > > scikit-learn Info Page -
> > > Python<https://mail.python.org/mailman/listinfo/scikit-learn>
> > > mail.python.org
> > > To see the collection of prior postings to the list, visit the
> > > scikit-learn Archives
he
> > > scikit-learn Archives. Using scikit-learn: To post a message to all the
> > > list members ...
> > >
> > >
> > >
> > > or, via email, send a message with subject or body 'help' to
> > > scikit-learn-requ..
st..."
> >
> >
> > Today's Topics:
> >
> >1. sklearn website down in my country Pakistan (Rahul Ahuja)
> >2. Re: sklearn website down in my country Pakistan (Nelson Liu)
> >3. How to get the most important features from a RF efficien
> > than "Re: Contents of scikit-learn digest..."
> >
> >
> > Today's Topics:
> >
> >1. sklearn website down in my country Pakistan (Rahul Ahuja)
> >2. Re: sklearn website down in my country Pakistan (Nelson Liu)
> >3. How to get the mo
t;> Today's Topics:
>>
>>1. sklearn website down in my country Pakistan (Rahul Ahuja)
>>2. Re: sklearn website down in my country Pakistan (Nelson Liu)
>>3. How to get the most important features from a RF efficiently
>> (Raphael C)
>>
>>
t;
> Subject: [scikit-learn] sklearn website down in my country Pakistan
> Message-ID:
> <
> ps1pr01mb101761eca4dde87e85bb999f98...@ps1pr01mb1017.apcprd01.prod.exchangelabs.com
> >
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi there,
>
gt; Message: 1
> Date: Thu, 21 Jul 2016 14:50:55 +
> From: Rahul Ahuja
> To: "scikit-learn@python.org"
> Subject: [scikit-learn] sklearn website down in my country Pakistan
> Message-ID:
>
>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Date: Thu, 21 Jul 2016 14:50:55 +
> From: Rahul Ahuja
> To: "scikit-learn@python.org"
> Subject: [scikit-learn] sklearn website down in my country Pakistan
> Message-ID:
>
>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
ite down in my country Pakistan
> Message-ID:
>
>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi there,
>
>
> Sklearn website has been down for couple of days. Please look into it.
>
>
> I reside in Pakistan, Karachi city.
ge-ID:
Content-Type: text/plain; charset="iso-8859-1"
Hi there,
Sklearn website has been down for couple of days. Please look into it.
I reside in Pakistan, Karachi city.
Kind regards,
Rahul Ahuja
-- next part --
An HTML attachment was scrubbed
ook into it.
>
>
> I reside in Pakistan, Karachi city.
>
>
>
>
>
> Kind regards,
> Rahul Ahuja
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> <http://mail.python.org/pipermail/scikit-learn/attachme
--- next part --
An HTML attachment was scrubbed...
URL:
<http://mail.python.org/pipermail/scikit-learn/attachments/20160721/39b64f34/attachment-0001.html>
--
Message: 2
Date: Thu, 21 Jul 2016 14:58:04 +
From: Nelson Liu
To: Scikit-learn user and d
I have a set of feature vectors associated with binary class labels,
each of which has about 40,000 features. I can train a random forest
classifier in sklearn which works well. I would however like to see
the most important features.
I tried simply printing out forest.feature_importances_ but thi
Hi,
If I remember correctly, scikit-learn.org is hosted on GitHub Pages (so the
maintainers don't have control over downtime and issues like the one you're
having). Can you connect to GitHub, or any site on GitHub Pages?
Thanks
Nelson
On Thu, Jul 21, 2016, 07:52 Rahul Ahuja wrote:
> Hi there,
>
Hi there,
Sklearn website has been down for couple of days. Please look into it.
I reside in Pakistan, Karachi city.
Kind regards,
Rahul Ahuja
___
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-l
16 matches
Mail list logo