taby gathoni
2011-Jul-22 05:30 UTC
[R] [Heuristic [Auto Search Error in phi[[y]] : attempt to select less than one element
Dear R-users, I have about 32 variables and am attempting to analysis any interactions using the package deal. I am getting the error "[Heuristic [Auto Search Error in phi[[y]] : attempt to select less than one element" Could you please assist in solving this, my code is as follows: ksl<- int #training data set ksl.nw<-network(ksl) ksl.prior<-jointprior(ksl.nw) ksl.nw<-learn(ksl.nw,ksl,ksl.prior)$nw result <- heuristic(ksl.nw,ksl,ksl.prior,restart=1,degree=1,trace=TRUE) thebest <-result$nw[[1]] savenet(thebest,"ksl.net") print(ksl.nw,condposterior=TRUE) am using this for the purpose of a credit scoring model. Any assistance will be highly appreciated. Thank you and Kind regards, Taby An idea not coupled with action will never get any bigger than the brain cell it occupied. Arnold Glasgow ...... "Attempt something large enough that failure is guaranteed…unless God steps in!" [[alternative HTML version deleted]]