Package | Description |
---|---|
org.apache.flink.ml.classification.logisticregression |
Modifier and Type | Method and Description |
---|---|
void |
LogisticGradient.computeGradient(List<LabeledPointWithWeight> dataPoints,
DenseVector coefficient,
DenseVector cumGradient)
Computes gradient on a set of samples.
|
org.apache.flink.api.java.tuple.Tuple2<Double,Double> |
LogisticGradient.computeLoss(List<LabeledPointWithWeight> dataPoints,
DenseVector coefficient)
Computes weight sum and loss sum on a set of samples.
|
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.