- For the predict function, if the type argument to class is not specified,
it will, by default, generate a probability matrix as a prediction result. This is very similar to net.result generated from the compute function within the neuralnet package:
> head(predict(iris.nn, testset))