PetscRegressorPredict#
Compute predictions (that is, perform inference) using a fitted regression model.
Synopsis#
PetscErrorCode PetscRegressorPredict(PetscRegressor regressor, Mat X, Vec y)
Collective
Input Parameters#
regressor - the
PetscRegressor
context (for whichPetscRegressorFit()
must have been called)X - data matrix of unlabeled observations
Output Parameter#
y - vector of predicted labels
See Also#
Level#
beginner
Location#
Implementations#
PetscRegressorPredict_Linear() in src/ml/regressor/impls/linear/linear.c
Index of all PetscRegressor routines
Table of Contents for all manual pages
Index of all manual pages