PetscRegressorSetFromOptions#

Sets PetscRegressor options from the options database.

Synopsis#

Collective

Input Parameter#

Options Database Keys#

  • -regressor_type - the particular type of regressor to be used; see PetscRegressorType for complete list

Note#

This routine must be called before PetscRegressorSetUp() (or PetscRegressorFit(), which calls the former) if the user is to be allowed to set the regressor type.

See Also#

PetscRegressor, PetscRegressorCreate()

Level#

beginner

Location#

src/ml/regressor/interface/regressor.c

Implementations#

PetscRegressorSetFromOptions_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