try:
alltrees <- predict(logicfit)
coldeyes wrote:
>
> thanks for you response, i try predict command, it is doesn't work. i
> list a simulate code below:
>
> X <- matrix(as.numeric(runif(400) < 0.5), 50,8)
> colnames(X) <- paste("X", 1:ncol(X), sep="")
> rownames(X) <- paste("case", 1:
thanks for you response, i try predict command, it is doesn't work. i list a
simulate code below:
X <- matrix(as.numeric(runif(400) < 0.5), 50,8)
colnames(X) <- paste("X", 1:ncol(X), sep="")
rownames(X) <- paste("case", 1:nrow(X), sep="")
# Define expected result: Y = (NOT X2) AND X6
Y <- as.
try
alltrees <- predict(fit, model.dat2) # make sure response variable is not
included in model.dat2
also to see the other attributes in "fit", try: attributes(fit)
thanks
y
coldeyes.Rhelp wrote:
>
> Hi All:
>
> how to get the coefficient for logic regression using selection=2 ( fit
> mult
Hi All:
how to get the coefficient for logic regression using selection=2 ( fit
multiple models) and type=3 ( logistic regression)
for example i have a fit like below :
fit<-logreg(resp = model.dat[,21], bin=model.dat[,
2:18],sep=model.dat[,1] ,type=3,select=2,ntrees=2,nleaves=6
,anneal.contr
4 matches
Mail list logo