Displaying 2 results from an estimated 2 matches for "logicfit".
Did you mean:
locfit
2005 Feb 23
1
Problem saving logic regression result equation to disk file
...efine expected result: Y = (NOT X2) AND X6
Y <- as.numeric(!X[,2] & X[,6])
# set seed for reproducible test
set.seed(19937)
# 100 interations too few: some results in single node with |Parameter| < 1
Annealing <- logreg.anneal.control(start = -1, end = -4, iter = 500, update
= 50)
logicfit <- logreg(resp=Y, bin=X,
type = REGRESSION.TYPE<-2,
select = FIT.SINGLE.MODEL<-1,
ntrees=1,
nleaves=2, # force shape of final tree
anneal.control=Annealing)
# I don't always want to see th...
2008 May 19
0
How to get confidence interval and coefficient in Logic Regression
...t;- paste("case", 1:nrow(X), sep="")
# Define expected result: Y = (NOT X1) AND X5
Y <- as.numeric(!X[,1] & X[,5])
z<-as.numeric(runif(50))
model.dat<-cbind(X,z,Y)
set.seed(12345)
Annealing <- logreg.anneal.control(start = 4, end = -4, iter = 1000, update
= 50)
logicfit <- logreg(resp=model.dat[,10],
bin=model.dat[,1:8],sep=model.dat[,9],
type = 3,
select = 2,
ntrees=2,
nleaves=3,
anneal.control=Annealing)
use names(logicfit) , i didn't see coef class. how to...