Merge branch 'master' of https://github.com/FBRDNLMS/NLMSvariants
This commit is contained in:
commit
f3ee4792f8
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue