Package org.apache.spark.ml.optim.loss
Interface DifferentiableRegularization<T>
- Type Parameters:
T
- The type of the coefficients being regularized.
- All Superinterfaces:
breeze.optimize.DiffFunction<T>
,scala.Function1<T,
,Object> breeze.linalg.operators.HasOps
,breeze.linalg.ImmutableNumericOps<breeze.optimize.StochasticDiffFunction<T>>
,breeze.linalg.NumericOps<breeze.optimize.StochasticDiffFunction<T>>
,breeze.optimize.StochasticDiffFunction<T>
public interface DifferentiableRegularization<T>
extends breeze.optimize.DiffFunction<T>
A Breeze diff function which represents a cost function for differentiable regularization
of parameters. e.g. L2 regularization: 1 / 2 regParam * beta dot beta
-
Nested Class Summary
Nested classes/interfaces inherited from interface scala.Function1
scala.Function1.UnliftOps<A extends Object,
B extends Object>, scala.Function1.UnliftOps$ Nested classes/interfaces inherited from interface breeze.linalg.NumericOps
breeze.linalg.NumericOps.Arrays$, breeze.linalg.NumericOps.ArraysLowPriority
-
Method Summary
Methods inherited from interface breeze.optimize.DiffFunction
cached, repr, throughLens
Methods inherited from interface scala.Function1
andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString
Methods inherited from interface breeze.linalg.ImmutableNumericOps
$amp, $amp$colon$amp, $bar, $bar$colon$bar, $bslash, $colon$bang$eq, $colon$eq$eq, $div, $div$colon$div, $minus, $minus$colon$minus, $percent, $percent$colon$percent, $plus$colon$plus, $times, $times$colon$times, $up$colon$up, $up$up, $up$up$colon$up$up, dot, t, t, t, unary_$bang, unary_$minus
Methods inherited from interface breeze.linalg.NumericOps
$amp$eq, $bar$eq, $colon$amp$eq, $colon$bar$eq, $colon$div$eq, $colon$eq, $colon$minus$eq, $colon$percent$eq, $colon$plus$eq, $colon$times$eq, $colon$up$eq, $colon$up$up$eq, $div$eq, $greater$colon$eq, $greater$colon$greater, $less$colon$eq, $less$colon$less, $minus$eq, $percent$eq, $plus, $plus$eq, $times$eq, $up$up$eq
Methods inherited from interface breeze.optimize.StochasticDiffFunction
apply, calculate, gradientAt, valueAt
-
Method Details
-
regParam
double regParam()Magnitude of the regularization penalty.
-