Predict method for
s2net C++ class.
This function provides an interface in R for the method
predict in C++ class
predict_Rcpp_s2net(object, newX, type = "default")
An object of class
Data to make predictions. Could be a
xLis used) or a
matrix(in the same space as the original data where the model was fitted).
Type of predictions. One of
"default": let the method figure it out;
"response": the linear predictor;
"probs": fitted probabilities;
class: fitted class.
This method is included as a high-level wrapper of
Returns a column
matrix with the same number of rows/observations as