Displaying 20 results from an estimated 3000 matches similar to: "random forest varimp"
2008 Mar 11
1
randomForest get tree
All,
What purpose does the getTree function have in Random Forest? Can you graph it
as you can in rpart and can it be interpreted in the same way?
Helen Mills Poulos
Yale School of Forestry
2006 Jul 21
2
rpart unbalanced data
Hello all,
I am currently working with rpart to classify vegetation types by spectral
characteristics, and am comming up with poor classifications based on the fact
that I have some vegetation types that have only 15 observations, while others
have over 100. I have attempted to supply prior weights to the dataset, though
this does not improve the classification greatly. Could anyone supply some
2006 Jul 28
0
Non-metric Multidimensional Scaling in R (Tobias Verbeke)
The vegan package has non-metric multidimensional scaling in addition to a
variety of other ordination techniques.
Regards,
Helen Mills Poulos
Yale University
2011 Jun 13
1
In rpart, how is "improve" calculated? (in the "class" case)
Hi all,
I apologies in advance if I am missing something very simple here, but since
I failed at resolving this myself, I'm sending this question to the list.
I would appreciate any help in understanding how the rpart function is
(exactly) computing the "improve" (which is given in fit$split), and how it
differs when using the split='information' vs split='gini'
2010 Sep 03
7
Function Gini or Ineq
Hi listers,
Does it necessary to install any package in order to use the GINI or INEQ
functions.
If I use the following command the R tells me that didn't find the GINI
function.
x<-c(541, 1463, 2445, 3438, 4437, 5401, 6392, 8304, 11904, 22261)
G<-gini(x)
Thanks in advance,
Marcio
--
View this message in context:
2016 Mar 30
2
Compute the Gini coefficient
Hello,
I would like to build a Lorenz curve and calculate a Gini coefficient in order to find how much parasites does the top 20% most infected hosts support.
Here is my data set:
Number of parasites per host:
parasites = c(0,1,2,3,4,5,6,7,8,9,10)
Number of hosts associated with each number of parasites given above:
hosts = c(18,20,28,19,16,10,3,1,0,0,0)
To represent the Lorenz curve:
I
2015 Jan 24
5
Postfix (I think) problem
I'm getting repeated email (KMail) error messages
about one apparently over-large post:
--------------------------
Received: from helen.gayleard.com (localhost.localdomain [127.0.0.1]) by
helen.gayleard.com (Postfix) with ESMTP id E4500294A0 for
<tim at helen.gayleard.com>; Sat, 24 Jan 2015 14:00:05 +0000 (GMT)
Received: (from tim at localhost) by helen.gayleard.com
2005 Jun 24
2
Gini with frequencies
Hi there,
I am trying to compute Gini coefficients for vectors containing income classes. The data I possess look loke this:
yit <- c(135, 164, 234, 369)
piit <- c(367, 884, 341, 74 )
where yit is the vector of income classes, and fit is the vector of associated frequencies.(This data is from Rustichini, Ichino and Checci (Journal of Public Economics, 1999) ). In ineq pacakge, Gini( )
2007 Jun 11
1
Gini coefficient in R
If I use the Ineq library and the Gini function in this way:
>Gini(c(100,0,0,0))
I obtain the result 0.75 instead of 1 (that is the perfect inequality).
I think Gini's formula in Ineq is based on a formula as reported here:
http://mathworld.wolfram.com/GiniCoefficient.html
but in the case of perfect inequality:
x_1=.......=x_n-1 =0
x_n>0
these formula are equal to 1 - 1/n, not to
2007 Aug 24
2
Variable Importance - Random Forest
Hello,
I am trying to explore the use of random forests for classification and
am certain about the interpretation of the importance measurements.
When having the option "importance = T" in the randomForest call, the
resulting 'importance' element matrix has four columns with the
following headings:
0 - mean raw importance score of variable x for class 0 (where
2010 Sep 28
3
calcular la variancia de gini por bootstrap
Hola, paso el mini programita q estoy viendo, lo q me llama la atencion es
una parte donde se definen las funciones.
Probe primero meter adentro del boots la estadistica a estimar usando
directamente gini(varible, pesos) pero no me dejo.
Vi q en el ej del manual de boots, siempre define antes la funcion, entonces
probe definir antes una funcion haciendo
grini<-function(x) {gini(variable,
2007 Jun 16
1
Use of the "by" command (clarification)
Well apparently this has nothing to do with the gini() command.
I cannot get it to work for something as simple as sum()
Here is the little example I am playing with, maybe someone can help me find
my error:
a<-c("A","B","C","A","B","C","A","A","C","B")
2009 Nov 02
2
Accessing Windows file-system from Linux samba server
I don't understand Windows permissions under Samba.
I am running an smb server under CentOS-5.4,
and have a Windows XP Pro machine ("harriet") as a client.
I have set up shares C and D on harriet
corresponding to the 2 drives C: and D: on the machine,
and I have asked that files should be shared.
Now when I mount harriet:C I can see
the top level folders,
but cannot see Documents
2009 Nov 02
2
Accessing Windows file-system from Linux samba server
I don't understand Windows permissions under Samba.
I am running an smb server under CentOS-5.4,
and have a Windows XP Pro machine ("harriet") as a client.
I have set up shares C and D on harriet
corresponding to the 2 drives C: and D: on the machine,
and I have asked that files should be shared.
Now when I mount harriet:C I can see
the top level folders,
but cannot see Documents
2007 Jun 19
3
Could not find lmer function in {Matrix} package
I am having trouble calling the lmer function in the {Matrix}
package. I first installed and loaded {Matrix} as follows:
> install.packages("Matrix")
> library(Matrix)
The package loaded successfully, however when I attempted to call
lmer, I received the following message:
Error: could not find function "lmer"
I also tried:
< ?lmer
which produced no search
2009 Sep 28
1
how to visualize gini coefficient in each node in RF?
Dear all,
I am working with randomForest package and I am interested in examining the
"Gini importance" measures that are used as a general indicator of feature
relevance. Is there a possibility of getting the Gini measure that is being
estimated in each tree by the output of the getTree() function?
Thanks a lot,
Chrysanthi
[[alternative HTML version deleted]]
2015 Sep 20
2
Setting up BackupPC on CentOS-7
I'd be interested in any corrections or comments
on the following instructions (basically for myself):
We assume that BackupPC has been installed:
sudo yum install BackupPC
1. BackupPC must be run by the user backuppc.
Accordingly the lines
User apache
Group apache
in /etc/httpd/conf/httpd.conf should be changed to
User backuppc
Group backuppc
2. The user backuppc must be able to
2010 Oct 19
1
Gini Coefficient
Dear List,
I am unsure if this is specifically a R question or a stats question? I thought i would ask here and if i get no replies it will answer that!
I am trying to calculate Gini coefficients in R, based on a slight modification of the typical equation that i have seen in a paper.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.pdf
Type:
2012 Feb 20
1
random numbers
Hello,
Is there a way to create random numbers that fit a certain specified
requirement other than distributional characteristics.
In particular, I would like to create simulated income distributions with
certain gini coefficient
Ryan
--
Ryan Murphy
2012
B.A. Economics and Mathematics
[[alternative HTML version deleted]]
2007 Oct 05
8
Linux editor for R+LaTeX, but not Emacs
Using Tinn-R (in windows) is possible to run latex and R from the same
editor, which was great. Now, I am using Ubuntu-linux, which has been
better than WinXP. Currently, I am using Emacs (and then install ESS)
for running LaTeX and R from a same editor-program (like i was doing
with Tinn-R in windows). Nevertheless, and even though i have been using
Emacs for almost 2 years, it is not as