20 references to RegressionType
System.Windows.Forms.DataVisualization (20)
Common\Formulas\FormulaHelpers.cs (2)
1057
: this(TimeSeriesAndForecasting.
RegressionType
.Polynomial, 2, 0, true, true) //Defaults
1068
public ForecastingFormulaInfo(TimeSeriesAndForecasting.
RegressionType
regressionType, int polynomialDegree, int forecastingPeriod, bool returnApproximationError, bool returnForecastingError)
Common\Formulas\TimeSeriesAndForecasting.cs (18)
162
RegressionType
regressionType =
RegressionType
.Polynomial;
166
regressionType =
RegressionType
.Exponential;
171
regressionType =
RegressionType
.Polynomial;
177
regressionType =
RegressionType
.Logarithmic;
182
regressionType =
RegressionType
.Power;
306
private void Regression(
RegressionType
regressionType, double [][] inputValues, out double [][] outputValues, int polynomialDegree, int forecastingPeriod )
308
if( regressionType ==
RegressionType
.Exponential )
327
else if( regressionType ==
RegressionType
.Logarithmic )
352
else if( regressionType ==
RegressionType
.Power )
403
private void PolynomialRegression(
RegressionType
regressionType, double [][] inputValues, out double [][] outputValues, int polynomialDegree, int forecastingPeriod, double logInterval )
416
if( regressionType !=
RegressionType
.Logarithmic )
433
if( regressionType ==
RegressionType
.Power )
482
if( regressionType ==
RegressionType
.Polynomial )
497
else if( regressionType ==
RegressionType
.Exponential )
508
else if( regressionType ==
RegressionType
.Logarithmic )
519
else if( regressionType ==
RegressionType
.Power )
531
if( regressionType !=
RegressionType
.Logarithmic )