xref: /petsc/src/ml/regressor/tests/output/ex2_prefix_tao.out (revision 58ad77e8b9ee6fdbdfef97ebcff79a2d98620aab)
1PetscRegressor Object: 1 MPI process
2  type: linear
3    PetscRegressor Linear Type: ols
4    Intercept=0.466667
5  Tao Object: (regressor_linear_) 1 MPI process
6    type: brgn
7      Regularizer weight: 1.
8      BRGN Regularization Type: l2prox
9      Tao Object: (tao_brgn_subsolver_) 1 MPI process
10        type: bnls
11          Tao Object: (tao_brgn_subsolver_tao_bnk_cg_) 1 MPI process
12            type: bncg
13              CG Type: ssml_bfgs
14              Skipped Stepdirection Updates: 0
15              Scaled gradient steps: 0
16              Pure gradient steps: 0
17              Not a descent direction: 0
18              Line search fails: 0
19              Matrix has not been preallocated yet
20            TaoLineSearch Object: (tao_brgn_subsolver_tao_bnk_cg_) 1 MPI process
21              type: more-thuente
22              maximum function evaluations=30
23              tolerances: ftol=0.0001, rtol=1e-10, gtol=0.9
24              total number of function evaluations=0
25              total number of gradient evaluations=0
26              total number of function/gradient evaluations=0
27              Termination reason: CONTINUE_ITERATING
28            convergence tolerances: gatol=1e-08,             grtol=1e-08,             steptol=0.,             gttol=0.
29            Residual in Function/Gradient:=0.
30            Objective value=0.
31            total number of iterations=0,                                    (max: 2000)
32            Solver never run
33          Rejected BFGS updates: 0
34          CG steps: 0
35          Newton steps: 1
36          BFGS steps: 0
37          Scaled gradient steps: 0
38          Gradient steps: 0
39          KSP termination reasons:
40            negc: 0
41            iter: 0
42            othr: 0
43        TaoLineSearch Object: (tao_brgn_subsolver_) 1 MPI process
44          type: more-thuente
45          maximum function evaluations=30
46          tolerances: ftol=0.0001, rtol=1e-10, gtol=0.9
47          total number of function evaluations=0
48          total number of gradient evaluations=0
49          total number of function/gradient evaluations=1
50          Termination reason: SUCCESS
51        KSP Object: (tao_brgn_subsolver_tao_bnk_) 1 MPI process
52          type: stcg
53          maximum iterations=10000, initial guess is zero
54          tolerances: relative=1e-05, absolute=1e-50, divergence=10000.
55          left preconditioning
56          using UNPRECONDITIONED norm type for convergence test
57        PC Object: (tao_brgn_subsolver_tao_bnk_) 1 MPI process
58          type: lmvm
59          Mat Object: (tao_brgn_subsolver_tao_bnk_pc_lmvm_) 1 MPI process
60            type: lmvmbfgs
61            rows=2, cols=2
62              Max. storage: 5
63              Used storage: 0
64              Number of updates: 0
65              Number of rejects: 0
66              Number of resets: 0
67              J0:
68                Mat Object: (tao_brgn_subsolver_tao_bnk_pc_lmvm_mat_lmvm_J0_) 1 MPI process
69                  type: diagonal
70                  rows=2, cols=2
71                    Vec Object: 1 MPI process
72                      type: seq
73              Rescale type: diagonal
74              Rescale history: 1
75              Rescale params: alpha=1., beta=0.5, rho=1.
76              Rescale convex factor: theta=0.125
77          linear system matrix = precond matrix:
78          Mat Object: 1 MPI process
79            type: shell
80            rows=2, cols=2
81        total KSP iterations: 2
82        convergence tolerances: gatol=1e-08,         grtol=1e-08,         steptol=0.,         gttol=0.
83        Residual in Function/Gradient:=2.22045e-16
84        Objective value=0.590476
85        total number of iterations=1,                                (max: 10000)
86        total number of function evaluations=3,                        (max: unlimited)
87        total number of function/gradient evaluations=3,            (max: unlimited)
88        total number of Hessian evaluations=1
89        total number of Jacobian evaluations=4
90        Solution converged:          ||g(X)|| <= gatol
91    convergence tolerances: gatol=1e-08,     grtol=1e-08,     steptol=0.,     gttol=0.
92    Residual in Function/Gradient:=0.
93    Objective value=1.15
94    total number of iterations=1,                            (max: 10000)
95    total number of function evaluations=3,                    (max: unlimited)
96    total number of function/gradient evaluations=3,        (max: unlimited)
97    total number of Hessian evaluations=1
98    Solution converged:      ||g(X)|| <= gatol
99Intercept is 0.466667
100Coefficients are
101Vec Object: 1 MPI process
102  type: seq
1030.285714
1040.666667
105Predicted values are
106Vec Object: 1 MPI process
107  type: seq
1080.847619
1090.490476
1100.466667
1110.77619
1121.41905
113