| /petsc/include/ |
| H A D | petscregressor.h | 28 typedef struct _p_PetscRegressor *PetscRegressor; typedef 73 PETSC_EXTERN PetscErrorCode PetscRegressorRegister(const char[], PetscErrorCode (*)(PetscRegressor)… 75 PETSC_EXTERN PetscErrorCode PetscRegressorCreate(MPI_Comm, PetscRegressor *); 76 PETSC_EXTERN PetscErrorCode PetscRegressorReset(PetscRegressor); 77 PETSC_EXTERN PetscErrorCode PetscRegressorDestroy(PetscRegressor *); 79 PETSC_EXTERN PetscErrorCode PetscRegressorSetOptionsPrefix(PetscRegressor, const char[]); 80 PETSC_EXTERN PetscErrorCode PetscRegressorAppendOptionsPrefix(PetscRegressor, const char[]); 81 PETSC_EXTERN PetscErrorCode PetscRegressorGetOptionsPrefix(PetscRegressor, const char *[]); 83 PETSC_EXTERN PetscErrorCode PetscRegressorSetType(PetscRegressor, PetscRegressorType); 84 PETSC_EXTERN PetscErrorCode PetscRegressorGetType(PetscRegressor, PetscRegressorType *); [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscregressor.pxi | 6 PetscErrorCode PetscRegressorCreate(MPI_Comm, PetscRegressor*) 7 PetscErrorCode PetscRegressorReset(PetscRegressor) 8 PetscErrorCode PetscRegressorDestroy(PetscRegressor*) 9 PetscErrorCode PetscRegressorSetType(PetscRegressor, PetscRegressorType) 10 PetscErrorCode PetscRegressorGetType(PetscRegressor, PetscRegressorType*) 11 PetscErrorCode PetscRegressorSetRegularizerWeight(PetscRegressor, PetscReal) 12 PetscErrorCode PetscRegressorSetUp(PetscRegressor) 13 PetscErrorCode PetscRegressorSetFromOptions(PetscRegressor) 14 PetscErrorCode PetscRegressorView(PetscRegressor, PetscViewer) 15 PetscErrorCode PetscRegressorFit(PetscRegressor, PetscMat, PetscVec) [all …]
|
| /petsc/include/petsc/private/ |
| H A D | regressorimpl.h | 12 PetscErrorCode (*setup)(PetscRegressor); 13 …PetscErrorCode (*setfromoptions)(PetscRegressor, PetscOptionItems); /* sets options from database … 14 …PetscErrorCode (*settraining)(PetscRegressor, Mat, Vec); /* set the training data matri… 15 …PetscErrorCode (*fit)(PetscRegressor); /* compute the transformation … 16 …PetscErrorCode (*predict)(PetscRegressor, Mat, Vec); /* predict using fitted model … 17 PetscErrorCode (*destroy)(PetscRegressor); 18 PetscErrorCode (*reset)(PetscRegressor); 19 PetscErrorCode (*view)(PetscRegressor, PetscViewer);
|
| /petsc/src/binding/petsc4py/src/lib-petsc/compat/ |
| H A D | regressor.h | 10 PetscErrorCode PetscRegressorLinearSetFitIntercept(PETSC_UNUSED PetscRegressor regressor,PETSC_UNUS… in PetscRegressorLinearSetFitIntercept() 11 PetscErrorCode PetscRegressorLinearSetUseKSP(PETSC_UNUSED PetscRegressor regressor,PETSC_UNUSED Pet… in PetscRegressorLinearSetUseKSP() 12 PetscErrorCode PetscRegressorLinearGetKSP(PETSC_UNUSED PetscRegressor regressor,PETSC_UNUSED KSP *k… in PetscRegressorLinearGetKSP() 13 PetscErrorCode PetscRegressorLinearGetCoefficients(PETSC_UNUSED PetscRegressor regressor,PETSC_UNUS… in PetscRegressorLinearGetCoefficients() 14 PetscErrorCode PetscRegressorLinearGetIntercept(PETSC_UNUSED PetscRegressor regressor,PETSC_UNUSED … in PetscRegressorLinearGetIntercept() 15 PetscErrorCode PetscRegressorLinearSetType(PETSC_UNUSED PetscRegressor regressor,PETSC_UNUSED Petsc… in PetscRegressorLinearSetType() 16 PetscErrorCode PetscRegressorLinearGetType(PETSC_UNUSED PetscRegressor regressor,PETSC_UNUSED Petsc… in PetscRegressorLinearGetType()
|
| /petsc/src/ml/regressor/impls/linear/ |
| H A D | linear.c | 5 static PetscErrorCode PetscRegressorLinearSetFitIntercept_Linear(PetscRegressor regressor, PetscBoo… in PetscRegressorLinearSetFitIntercept_Linear() 14 static PetscErrorCode PetscRegressorLinearSetType_Linear(PetscRegressor regressor, PetscRegressorLi… in PetscRegressorLinearSetType_Linear() 23 static PetscErrorCode PetscRegressorLinearGetType_Linear(PetscRegressor regressor, PetscRegressorLi… in PetscRegressorLinearGetType_Linear() 32 static PetscErrorCode PetscRegressorLinearGetIntercept_Linear(PetscRegressor regressor, PetscScalar… in PetscRegressorLinearGetIntercept_Linear() 41 static PetscErrorCode PetscRegressorLinearGetCoefficients_Linear(PetscRegressor regressor, Vec *coe… in PetscRegressorLinearGetCoefficients_Linear() 50 static PetscErrorCode PetscRegressorLinearGetKSP_Linear(PetscRegressor regressor, KSP *ksp) in PetscRegressorLinearGetKSP_Linear() 64 static PetscErrorCode PetscRegressorLinearSetUseKSP_Linear(PetscRegressor regressor, PetscBool flg) in PetscRegressorLinearSetUseKSP_Linear() 92 static PetscErrorCode PetscRegressorSetUp_Linear(PetscRegressor regressor) in PetscRegressorSetUp_Linear() 180 static PetscErrorCode PetscRegressorReset_Linear(PetscRegressor regressor) in PetscRegressorReset_Linear() 199 static PetscErrorCode PetscRegressorDestroy_Linear(PetscRegressor regressor) in PetscRegressorDestroy_Linear() [all …]
|
| H A D | makefile | 5 SUBMANSEC = PetscRegressor
|
| /petsc/src/ml/regressor/interface/ |
| H A D | regressor.c | 41 PetscErrorCode PetscRegressorRegister(const char sname[], PetscErrorCode (*function)(PetscRegressor… in PetscRegressorRegister() argument 64 PetscErrorCode PetscRegressorCreate(MPI_Comm comm, PetscRegressor *newregressor) in PetscRegressorCreate() 66 PetscRegressor regressor; in PetscRegressorCreate() 110 PetscErrorCode PetscRegressorView(PetscRegressor regressor, PetscViewer viewer) in PetscRegressorView() 151 PetscErrorCode PetscRegressorViewFromOptions(PetscRegressor A, PetscObject obj, const char name[]) in PetscRegressorViewFromOptions() 178 PetscErrorCode PetscRegressorSetFromOptions(PetscRegressor regressor) in PetscRegressorSetFromOptions() 223 PetscErrorCode PetscRegressorSetUp(PetscRegressor regressor) in PetscRegressorSetUp() 252 PetscErrorCode PetscRegressorFit(PetscRegressor regressor, Mat X, Vec y) in PetscRegressorFit() 296 PetscErrorCode PetscRegressorPredict(PetscRegressor regressor, Mat X, Vec y) in PetscRegressorPredict() 321 PetscErrorCode PetscRegressorReset(PetscRegressor regressor) in PetscRegressorReset() [all …]
|
| H A D | regressorregi.c | 3 PETSC_EXTERN PetscErrorCode PetscRegressorCreate_Linear(PetscRegressor);
|
| H A D | makefile | 4 SUBMANSEC = PetscRegressor
|
| /petsc/doc/manual/ |
| H A D | regressor.md | 3 # PetscRegressor: Regression Solvers 5 The `PetscRegressor` component provides some basic infrastructure and a general API for supervised 20 `PetscRegressor` supports supervised learning tasks: 26 we use `PetscRegressor` to support both of these cases. 30 Every `PetscRegressor` implementation provides a `Fit()` and a `Predict()` method to support this w… 35 Here, we introduce a simple example to demonstrate `PetscRegressor` usage. 63 To create a `PetscRegressor` instance, one must first call `PetscRegressorCreate()`: 66 PetscRegressorCreate(MPI_Comm comm, PetscRegressor *regressor); 72 PetscRegressorSetType(PetscRegressor regressor, PetscRegressorType type); 95 PetscRegressorFit(PetscRegressor regressor, Mat X, Vec y); [all …]
|
| /petsc/doc/manualpages/MANSECHeaders/ |
| H A D | PetscRegressor | 1 # Regression Analysis and Classification (PetscRegressor) 3 The Regression Analysis and Classification (`PetscRegressor`) component provides a simple interface… 7 `PetscRegressor` internally employs `Tao` (or `KSP` for a few, specialized cases) to solve the unde… 8 optimization problems. `PetscRegressor` users can set `Tao` options or otherwise directly manipulat…
|
| /petsc/src/ml/regressor/tests/output/ |
| H A D | ex3_ksp_intercept.out | 1 PetscRegressor Object: 1 MPI process 3 PetscRegressor Linear Type: ols
|
| H A D | ex3_ksp_no_intercept.out | 1 PetscRegressor Object: 1 MPI process 3 PetscRegressor Linear Type: ols
|
| H A D | ex3_prefix_ksp.out | 4 PetscRegressor Object: (sys1_sys2_) 1 MPI process 6 PetscRegressor Linear Type: ols
|
| H A D | ex2_prefix_ksp.out | 5 PetscRegressor Object: 1 MPI process 7 PetscRegressor Linear Type: ols
|
| H A D | ex1_prefix_ksp.out | 5 PetscRegressor Object: 1 MPI process 7 PetscRegressor Linear Type: ols
|
| H A D | ex3_prefix_ksp_suitesparse.out | 4 PetscRegressor Object: (sys1_sys2_) 1 MPI process 6 PetscRegressor Linear Type: ols
|
| H A D | ex2_prefix_tao_alt.out | 1 PetscRegressor Object: 1 MPI process 3 PetscRegressor Linear Type: ols
|
| H A D | ex1_prefix_tao_alt.out | 1 PetscRegressor Object: 1 MPI process 3 PetscRegressor Linear Type: ols
|
| H A D | ex2_prefix_tao.out | 1 PetscRegressor Object: 1 MPI process 3 PetscRegressor Linear Type: ols
|
| H A D | ex3_asciiview.out | 1 PetscRegressor Object: 1 MPI process 3 PetscRegressor Linear Type: ols
|
| /petsc/doc/manualpages/ |
| H A D | MachineLearning.md | 6 PetscRegressor/index
|
| /petsc/src/ml/regressor/tests/ |
| H A D | ex3.c | 27 static PetscErrorCode TestRegressorViews(PetscRegressor regressor, AppCtx ctx) in TestRegressorViews() 61 static PetscErrorCode TestPrefixRegressor(PetscRegressor regressor, AppCtx ctx) in TestPrefixRegressor() 136 PetscRegressor regressor; in main()
|
| /petsc/src/ml/regressor/ |
| H A D | makefile | 4 SUBMANSEC = PetscRegressor
|
| /petsc/doc/overview/ |
| H A D | nutshell.md | 38 - {any}`PetscRegressor <ch_regressor>` for regression and classification problems (`PetscRegressor`…
|