Skip to contents

Predict with a Cubist + PCA bundle

Usage

predict_cubist_pca(bundle, X_new)

Arguments

bundle

List from load_cubist_pca()

X_new

Preprocessed spectral matrix in the same band order as training

Value

Numeric vector of predictions