| 1533 | return rmserror; |
| 1534 | } |
| 1535 | std::string stringFromBool (bool value) { |
| 1536 | if (value) return "True"; |
| 1537 | return "False"; |
| 1538 | } |
| 1539 | |
| 1540 | float runEM (const vector<float>& x,const vector<float>& y,double * a, int degree, int & NumberOfIterations,int ploidy, int maximalNumberOfCopies, bool intercept, float contamination) { |
| 1541 | if (contamination==0) contamination=0.3; //starting from v11.2 - to improve the fit |