public abstract class PredictionFunction extends Object implements scala.Serializable
Constructor and Description |
---|
PredictionFunction() |
Modifier and Type | Method and Description |
---|---|
abstract WeightVector |
gradient(Vector features,
WeightVector weights) |
abstract double |
predict(Vector features,
WeightVector weights) |
public abstract double predict(Vector features, WeightVector weights)
public abstract WeightVector gradient(Vector features, WeightVector weights)
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.