Machine Learning, Data Science, R Programming, Neural Networks, Towards Data Science.
FALSE, threshold=0.01 ) # Plot the NN plot( nn, rep = "best" ) Figure 04. Neural Network with new dataset # Test the resulting output nn.results = compute( nn, new_testset ) # Results results = data.frame( actual = test$class, prediction = round( nn.results$net.result ) ) # Confusion Matrix