search for: maxnod

Displaying 19 results from an estimated 19 matches for "maxnod".

Did you mean: maxlod
2023 May 09
1
RandomForest tuning the parameters
Hi Sacha, On second thought, perhaps this is more the direction that you want ... X2 = cbind(X_train,y_train) colnames(X2)[3] = "y" regr2<-randomForest(y~x1+x2, data=X2,maxnodes=10, ntree=10) regr regr2 #Make prediction predictions= predict(regr, X_test) predictions2= predict(regr2, X_test) HTH, Eric On Tue, May 9, 2023 at 6:40?AM Eric Berger <ericjberger at gmail.com> wrote: > Hi, > One problem you have is with the command: > regr<-randomForest(y~...
2010 Jan 15
1
randomForest maxnodes
Has anyone sucessfully used the maxnodes feature in randomForest? I tried setting it, but when it is non-NULL I always get back a forest in which all trees have size 1. I am using a continuous response (regression). Any help would be appreciated. Thanks. [[alternative HTML version deleted]]
2023 May 08
1
RandomForest tuning the parameters
...eric(y) x1=as.numeric(x1) x2=as.factor(x2) ? X=data.frame(x1,x2) y=y ? #Split data into training and test sets index=createDataPartition(y, p=0.75, list=FALSE) X_train = X[index, ] X_test = X[-index, ] y_train= y[index ] y_test = y[-index ] ? #Train de model regr=randomForest (x=X_train, y=y_train, maxnodes=10, ntree=10) regr<-randomForest(y~x1+x2, data=X_train, proximity=TRUE) regr ? #Make prediction predictions= predict(regr, X_test) ? result= X_test result['y'] = y_test result['prediction'] = predictions result ? # Import library for Metrics library(Metrics) ? print(paste0(...
2008 Jul 16
1
Problems with snowfall
...= "snowfall") configM <- as.matrix(t(config)) config <- as.list(configM) names(config) <- dimnames(configM)[[2]] .sfOption$SERVER <<- as.character(config[["SERVER"]]) .sfOption$PORT <<- as.numeric(config[["PORT"]]) .sfOption$MAXNODES <<- as.numeric(config[["MAXNODES"]]) Which tries to set up the environment with the test data from "config" On top of that is assumes the existence in the environment of a variable "sfOption", without that it doesn't get past the first few lines of code.....
2013 Feb 13
2
CARET: Any way to access other tuning parameters?
...et::train shows a list of parameters that one can tune for each method classification/regression method. For example, for the method randomForest one can tune mtry in the call to train. But the function call to train random forests in the original package has many other parameters, e.g. sampsize, maxnodes, etc. Is there **any** way to access these parameters using train in caret? (Is the function caret::createGrid limited to the list of parameters specified in the caret documentation, it's not super clear if the list of parameter is for all the caret APIs). Thanks, James, [[alternative HT...
2012 Dec 03
1
How do I make R randomForest model size smaller?
I've been training randomForest models on 7 million rows of data (41 features). Here's an example call: myModel <- randomForest(RESPONSE~., data=mydata, ntree=50, maxnodes=30) I thought surely with only 50 trees and 30 terminal nodes that the memory footprint of "myModel" would be small. But it's 65 megs in a dump file. The object seems to be holding all sorts of predicted, actual, and vote data from the training process. What if I just want the for...
2013 Mar 24
1
Random Forest, Giving More Importance to Some Data
...domForest") %dopar%{ sink("log.txt", append=TRUE) cat(paste("Starting iteration",iteration,"\n")) randomForest(trainRF, prices_train, ## mtry=20, nodesize=5, ## maxnodes=140, importance=FALSE, do.trace=10,ntree=ntree) ###########################################################################
2018 Mar 29
2
Pasar argunmentos string a una formula
Buenas Tengo en un string guardado lo siguiente: > parametros [1] "ntree=10" "ntree=30" "ntree=50" "ntree=100" "ntree=200" Con un bucle for quiero ir metiendolo en el modelo, pero no se muy bien como hacerlo, ya que con deparse no me funciona, con get tampoco (obvio, no es un objeto), y no se muy bien como hacerlo de manera dinamica
2010 May 25
1
Need Help! Poor performance about randomForest for large data
Hi, dears, I am processing some data with 60 columns, and 286,730 rows. Most columns are numerical value, and some columns are categorical value. It turns out that: when ntree sets to the default value (500), it says "can not allocate a vector of 1.1 GB size"; And when I set ntree to be a very small number like 10, it will run for hours. I use the (x,y) rather than the (formula,data).
2003 May 21
8
system slowdown - vnode related
...I got a handle on it. Basically, the box runs idle but refuses to do disk IO, or does it -very- slowly. Top shows processes stuck in 'ffsvget', 'inode', and 'vlruwk' state. I can get the box responsive again by setting sysctl kern.maxvnods=100000. It starts up with kern.maxnodes=36079. I don't know yet if this is a 'fix' - I wanted to send this mail out before the box froze again. I can reliably get the box in to this state by doing 'find /'. I do have a lot of files on the disk, and a things like squid and postgres that do a lot of file i/o, but I...
2010 May 05
1
What is the default nPerm for regression in randomForest?
Could not find it in ?randomForest. Thank you for your help! -- Dimitri Liakhovitski Ninah.com Dimitri.Liakhovitski at ninah.com
2018 Jan 22
2
Random Forests
...de la varianza mayor del que esperaba. Mejor que con un simple bagging y mucho mejor que con cualquier árbol o regresión múltiple. Ahora estoy probando con gmb, a ver que tal. Un saludo. Manuel Quoting Carlos Ortega <cof en qualityexcellence.es>: > Lo defines con el parámetro "maxnodes"... si no lo delimitas, el árbol > crece hasta el máximo posible. > Y si lo estás usando para un caso de clasificación, el árbol se extiende > hasta el límite en el que en el nodo hay un (1) caso. > > [image: Imágenes integradas 2] > > Por eso, dependiendo de tu problema...
2018 Jan 20
2
Random Forests
Si, Carlos. Yo hago lo mismo, pero esos mismos numeritos salen enormes. > treesize(RFfit) [1] 4304 4302 4311 4319 4343 4298 4298 4311 4349 4327 4331 4317 4294 4321 4283 4362 [17] 4300 4330 4266 4331 4308 4352 4294 4315 4372 4349 4331 4347 4329 4348 4298 4335 [33] 4346 4396 4345 4313 4293 4276 4353 4272 4304 4325 4317 4336 4308 4351 4374 4324 [49] 4386 4359 4311 4346 4300
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding changes for Ocfs2. Aside from the usual set of cleanups and fixes that were inappropriate for 2.6.25, there are a few highlights: The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location meshes better with modern sysfs layout. A symbolic link has been placed in the old location so as to
2009 Feb 26
13
o2dlm mle hash patches - round 2
The changes from the last drop are: 1. Patch 11 removes struct dlm_lock_name. 2. Patch 12 is an unrelated bugfix. Actually is related to a bugfix that we are retracting in mainline currently. The patch may need more testing. While I did hit the condition in my testing, Marcos hasn't. I am sending it because it can be queued for 2.6.30. Give us more time to test. 3. Patch 13 will be useful
2009 Apr 17
26
OCFS2 1.4: Patches backported from mainline
Please review the list of patches being applied to the ocfs2 1.4 tree. All patches list the mainline commit hash. Thanks Sunil
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
Hi, The following patches comprise the bulk of Ocfs2 updates for the 2.6.30 merge window. Aside from larger, more involved fixes, we're adding the following features, which I will describe in the order their patches are mailed. Sunil's exported some more state to our debugfs files, and consolidated some other aspects of our debugfs infrastructure. This will further aid us in debugging
2010 Jan 06
0
Originate from the Dialplan
Hi all, I an using the Originate() dialplan command but I cant get it to save cdr's. Here is the line I am using: exten => _61XXXXXXXXX,53,Originate(SIP/${TRUNK}/${PREFIX}${PHONE},exten,${DESTCONTEXT},${PHONE},1); The call goes out fine, but CDR's get inserted into the DB. Any ideas on why this is happening? Is it a bug or a feature? -------------- next part -------------- An HTML
2009 Dec 04
2
Multiple Channel Variables with AMI Originate
Hi guys I seem to be having a problem, I don't know if it's a bug or whether I'm just doing it incorrectly. I want to set about 3 channel variables when I originate a call via AMI. All the documentation I have found says to do it like this: Variable: variable1=value|variable2=value|variable3=value However when I do this it runs them all together and I end up with: