martes, 8 de marzo de 2016

R: Remove constant and identical features programmatically

##### Removing constant features cat("n## Removing the constants features.n") for (f in names(train)) { if (length(unique(train[[f]])) == 1) { cat(f, "is constant in train. We delete it.n") train[[f]] <- NULL t...

from R-bloggers http://ift.tt/1U9O777
via IFTTT

No hay comentarios: