predict()#
- L2SolverDecoupled.predict()#
Solve the regularized least-squares problem.
- Returns
- X(d, r) or (d,) ndarray
Least-squares solution X = [ x_1 | … | x_r ]; each column is the solution to the subproblem with the corresponding column of B. The result is flattened to a one-dimensional array if r = 1.