Changeset 17970 for branches/3106_AnalyticContinuedFractionsRegression/HeuristicLab.Analysis/3.3/Statistics
- Timestamp:
- 04/30/21 12:18:19 (4 years ago)
- Location:
- branches/3106_AnalyticContinuedFractionsRegression
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3106_AnalyticContinuedFractionsRegression
- Property svn:mergeinfo changed
-
branches/3106_AnalyticContinuedFractionsRegression/HeuristicLab.Analysis
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Analysis (added) merged: 17931
- Property svn:mergeinfo changed
-
branches/3106_AnalyticContinuedFractionsRegression/HeuristicLab.Analysis/3.3/Statistics/Fitting/ExpFitting.cs
r17180 r17970 41 41 public void Calculate(double[] y, double[] x, out double p0) { 42 42 if (y.Count() != x.Count()) { 43 throw new ArgumentException("The leng htof x and y needs do be equal. ");43 throw new ArgumentException("The length of x and y needs do be equal. "); 44 44 } 45 45 46 46 double[] c = new double[] { 0.3 }; 47 double epsf = 0;48 47 double epsx = 0.000001; 49 48 int maxits = 0; … … 59 58 60 59 alglib.lsfitcreatef(xx, y, c, diffstep, out state); 61 alglib.lsfitsetcond(state, eps f, epsx, maxits);60 alglib.lsfitsetcond(state, epsx, maxits); 62 61 alglib.lsfitfit(state, ExpFunc, null, null); 63 62 alglib.lsfitresults(state, out info, out c, out rep); -
branches/3106_AnalyticContinuedFractionsRegression/HeuristicLab.Analysis/3.3/Statistics/Fitting/LogFitting.cs
r17180 r17970 45 45 46 46 double[] c = new double[] { 0.3, 0.3 }; 47 double epsf = 0;48 47 double epsx = 0.000001; 49 48 int maxits = 0; … … 59 58 60 59 alglib.lsfitcreatef(xx, y, c, diffstep, out state); 61 alglib.lsfitsetcond(state, eps f, epsx, maxits);60 alglib.lsfitsetcond(state, epsx, maxits); 62 61 alglib.lsfitfit(state, LogFunc, null, null); 63 62 alglib.lsfitresults(state, out info, out c, out rep);
Note: See TracChangeset
for help on using the changeset viewer.