ConjugateGradient
class ConjugateGradient[T, M](maxNormValue: Double, maxIterations: Int, normSquaredPenalty: Double, tolerance: Double)(implicit space: MutableInnerProductVectorSpace[T, Double], mult: Impl2[M, T, T]) extends SerializableLogging
Solve argmin (a dot x + .5 * x dot (B * x) + .5 * normSquaredPenalty * (x dot x)) for x subject to norm(x) <= maxNormValue
Based on the code from "Trust Region Newton Method for Large-Scale Logistic Regression"
- @author dlwh