Displaying 2 results from an estimated 2 matches for "targetvari".
Did you mean:
targetva
2017 Jun 15
1
(no subject)
...all("mappred", node = node, fitted = fitted, data = data, n =
as.integer(n), from = from, prob = prob, debug = debug) 2:
map.prediction(node = node, fitted = object, data = data, n =
extra.args$n, from = extra.args$from, prob = prob, debug = debug) 3:
predict.bn.fit(values10$fitted, input$targetvariables, combn2, prob =
TRUE, method = "bayes-lw") 4: predict(values10$fitted,
input$targetvariables, combn2, prob = TRUE, method = "bayes-lw") 5:
t(attr(predict(values10$fitted, input$targetvariables, combn2, prob =
TRUE, method = "bayes-lw"), "prob")) 6: obser...
2010 Jul 10
4
eliminating constant variables
...re constant or all missing values - which prevents the model
from being built.
Can someone point me the right direction as to how I can automatically purge
my data file of these useless fields.
Thanks in advance,
pdb
train <- read.csv("TrainingData.csv")
library(gbm)
i.gbm<-gbm(TargetVariable ~ . ,data=train,distribution="bernoulli.....
1: In gbm.fit(x, y, offset = offset, distribution = distribution, ... :
variable 5: var1 has no variation.
--
View this message in context: http://r.789695.n4.nabble.com/eliminating-constant-variables-tp2284831p2284831.html
Sent from the R...