Predict Method for softmax Fits
# S3 method for softmax
predict(object, newdata = NULL, bag_newdata = NULL, type = "bag", ...)A fitted obejct of class inheriting from "softmax".
Default is NULL. A matrix with variables to predict.
Default is NULL. A vector. The labels of instances to bags.
If newdata and bag_newdata both are NULL, return the fitted result.
The type of prediction required. Default is "bag", the predicted labels of bags.
The "instance" option returns the predicted labels of instances.
further arguments passed to or from other methods.