public interface RegressionObjective
extends com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
Modifier and Type | Method and Description |
---|---|
com.oracle.labs.mlrg.olcut.util.Pair<Double,SGDVector> |
loss(DenseVector truth,
SGDVector prediction)
Scores a prediction, returning the loss.
|
com.oracle.labs.mlrg.olcut.util.Pair<Double,SGDVector> loss(DenseVector truth, SGDVector prediction)
truth
- The true regression value.prediction
- The predicted regression value.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.