Isn't it simpler to just take out the attributes you want to ignore from
the data?
Assuming the numpy array a contains your data and you don't want the first
column (attribute):
a = a[:,1:]
On Tue, Aug 13, 2013 at 1:03 PM, Jason Williams
<jwilliams4...@yahoo.co.uk>wrote:
> I follow an example found on the internet (
> http://blog.yhathq.com/posts/random-forests-in-python.html) for using
> Random Forest Classifer. The result looks working. From the sample code, it
> looks like taking all attributes to train the model. But checking api (
> http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html
> )
> there is no description telling that what parameter can be used to ignore
> some particular fileds/ attributes. So I would like to check if any
> parameter can be used to ignore particular fields or attributes?
>
> Thanks
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
--
Roland
http://rolisz.ro/
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general