public class LeastSquaresCostFun
extends Object
implements breeze.optimize.DiffFunction<breeze.linalg.DenseVector<Object>>
Constructor and Description |
---|
LeastSquaresCostFun(RDD<org.apache.spark.ml.feature.Instance> instances,
double labelStd,
double labelMean,
boolean fitIntercept,
boolean standardization,
Broadcast<double[]> bcFeaturesStd,
Broadcast<double[]> bcFeaturesMean,
double effectiveL2regParam,
int aggregationDepth) |
Modifier and Type | Method and Description |
---|---|
scala.Tuple2<Object,breeze.linalg.DenseVector<Object>> |
calculate(breeze.linalg.DenseVector<Object> coefficients) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public LeastSquaresCostFun(RDD<org.apache.spark.ml.feature.Instance> instances, double labelStd, double labelMean, boolean fitIntercept, boolean standardization, Broadcast<double[]> bcFeaturesStd, Broadcast<double[]> bcFeaturesMean, double effectiveL2regParam, int aggregationDepth)