This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require(shiny); | |
require(caret); | |
require(e1071); | |
require(randomForest); | |
require(nnet); | |
require(glmnet); | |
#code for plotting nnets, taken from: http://beckmw.wordpress.com/2013/03/04/visualizing-neural-networks-from-the-nnet-package/ | |
# the formula of the output of train is off and doesn't work correctly though. | |
#Function for plotting nnets, not working right now |