This commit is contained in:
kbecke23 2018-06-12 16:09:55 +02:00
commit f3ee4792f8
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ void directPredecessor( mldata_t *mlData, point_t points[]) {
deviation += (xError[i] - mean) * (xError[i] - mean); // Mean square deviation += (xError[i] - mean) * (xError[i] - mean); // Mean square
} }
deviation /= xErrorLength; // Deviation deviation /= xErrorLength; // Deviation
printf("mean square err: %lf, variance: %lf\t\t\tdirect Predecessor\n", mean, deviation); printf("mean square err: %lf, variance: %lf\t\tdirect Predecessor\n", mean, deviation);
fprintf(fp3, "\nQuadratische Varianz(x_error): %f\nMittelwert:(x_error): %f\n\n", deviation, mean); fprintf(fp3, "\nQuadratische Varianz(x_error): %f\nMittelwert:(x_error): %f\n\n", deviation, mean);
fclose(fp3); fclose(fp3);