Class PowerTrendLine
- java.lang.Object
-
- org.hortonmachine.gears.utils.math.regressions.OLSTrendLine
-
- org.hortonmachine.gears.utils.math.regressions.PowerTrendLine
-
- All Implemented Interfaces:
RegressionLine
public class PowerTrendLine extends OLSTrendLine
Taken from https://stackoverflow.com/questions/17592139/trend-lines-regression-curve-fitting-java-library
-
-
Constructor Summary
Constructors Constructor Description PowerTrendLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanlogY()protected double[]xVector(double x)-
Methods inherited from class org.hortonmachine.gears.utils.math.regressions.OLSTrendLine
getRegressionParameters, getRegressionParametersErrors, getResiduals, getRSquared, predict, setValues
-
-
-
-
Method Detail
-
xVector
protected double[] xVector(double x)
- Specified by:
xVectorin classOLSTrendLine
-
logY
protected boolean logY()
- Specified by:
logYin classOLSTrendLine
-
-