s2net C++ class.
This function provides an interface in R for the method predict in C++ class s2net.
predict_Rcpp_s2net(object, newX, type = "default")
An object of class Rcpp_s2net.
Data to make predictions. Could be a s2Data object (field xL is 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.
Returns a column matrix with the same number of rows/observations as newX.
This method is included as a high-level wrapper of object$predict().