Displaying 8 results from an estimated 8 matches for "coob".
Did you mean:
clob
2009 Jan 22
4
dimnames in pkg "ipred"
...lo List,
I`m trying to make prediction using a bagged tree with the package ipred. I tried to follow the manual but I`m getting an error message. Also browsing through the list-archive I didn`t find any hint.
Maybe someone can help me?
selbag <- bagging(SOIL_UNIT ~., data=traindat.bin, coob=TRUE)
Error in dimnames(X) <- list(dn[[1L]], unlist(collabs, use.names = FALSE)) :
length of 'dimnames' [2] not equal to array extent
I´m using R 2.7.2 on Win XP and the latest version of ipred.
Thanks a lot.
TIM
---------------------------------------------------------...
2009 Sep 11
0
ipred bagging segfault on 64 bit linux build
...0, !is.na(profits))
datasize=length(Forbes2000$profits)
f <- rpart(profits ~ assets + marketvalue + sales, data=Forbes2000)
fb <- bagging(profits ~ assets + marketvalue + sales, data=Forbes2000)
fb <- bagging(profits ~ assets + marketvalue + sales, data=Forbes2000,
nbagg=100,coob=TRUE)
fb <- bagging(profits ~ assets + marketvalue + sales, data=Forbes2000,
nbagg=100,coob=TRUE, ns=round(.9*datasize))
--
View this message in context: http://www.nabble.com/ipred-bagging-segfault-on-64-bit-linux-build-tp25407509p25407509.html
Sent from the R help mailing list...
2011 Feb 18
0
Weights in bagged regression trees
...possible in bagging? I know that weights are not possible in regression under randomforests.
#this works
r1w <- rpart(how_many ~ covariates, data=ttv.data.sk, weights, method="poisson")
#this works
b1 <- bagging(how_many ~ covariates, data=ttv.data.sk, method="poisson", coob=T, nbagg=30)
#this fails
b1w <- bagging(how_many ~ covariates, data=ttv.data.sk, weights, method="poisson", coob=T, nbagg=30)
thanks in advance
Simon
____________________________________________________________
Sign-up for Bird Atlas 2007-11 at www.birdatlas.net
____________________...
2009 Nov 03
1
Maximum Likelihood Estimation
Hi,
I would like estimate a model for function of production's Coob-Douglas using maximum likelihood. The model is log(Y)= beta[1]+beta[2]*log(L)+beta[3]*log(K). I tried estimate this model using the tools nlm ( ) and optim ( ) using the log-likelihood function below:
> mloglik <- function (beta, Y, L, K) {
+ n <- length(Y)
+ sum ( (log(Y)- beta[1]-bet...
2002 Aug 27
1
unlist (rpart.object.list)
Hello,
can me please help anbody how it is possible
unlist a "rpart.object.list" i.e. from bagging(ipred) to
plot this "unique" several rpart.objects .
..i make attempts with unlist, get really atomic
elements, but need only the different tree's !
Thanks for advance
& regards,Christian
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2006 Jan 18
0
Loading of namespace on load of .Rdata (was strange behaviourof load)
...data(BreastCancer)
>>
>> mod <- bagging(Class ~ Cl.thickness + Cell.size
> + + Cell.shape + Marg.adhesion
> + + Epith.c.size + Bare.nuclei
> + + Bl.cromatin + Normal.nucleoli
> + + Mitoses, data=BreastCancer, coob=TRUE)
>>
>> environment(mod$mtrees[[1]]$btree$terms)
> <environment: 024E8138>
>>
>> parent.env(environment(mod$mtrees[[1]]$btree$terms))
> <environment: namespace:ipred>
parent.env is a very confusing name. To quote the draft R language
definition:
`...
2006 Jan 18
2
Loading of namespace on load of .Rdata (was strange behaviour of load)
...loaded ipred):
> data(BreastCancer)
>
> mod <- bagging(Class ~ Cl.thickness + Cell.size
+ + Cell.shape + Marg.adhesion
+ + Epith.c.size + Bare.nuclei
+ + Bl.cromatin + Normal.nucleoli
+ + Mitoses, data=BreastCancer, coob=TRUE)
>
> environment(mod$mtrees[[1]]$btree$terms)
<environment: 024E8138>
>
> parent.env(environment(mod$mtrees[[1]]$btree$terms))
<environment: namespace:ipred>
This occurs because the terms object is taken from the model frame which was evaluated within the environment o...
2006 Jan 18
0
Loading of namespace on load of .Rdata (was strange behaviour of load)
...loaded ipred):
> data(BreastCancer)
>
> mod <- bagging(Class ~ Cl.thickness + Cell.size
+ + Cell.shape + Marg.adhesion
+ + Epith.c.size + Bare.nuclei
+ + Bl.cromatin + Normal.nucleoli
+ + Mitoses, data=BreastCancer, coob=TRUE)
>
> environment(mod$mtrees[[1]]$btree$terms)
<environment: 024E8138>
>
> parent.env(environment(mod$mtrees[[1]]$btree$terms))
<environment: namespace:ipred>
This occurs because the terms object is taken from the model frame which was evaluated within the environment o...