You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second change should be added to the main code immediately.
The first, the whitening in Tools.cpp, might be done differently, with like a soft-min or an if or something.
The correlation coefficient objective function gives 'nan' error probably because of division by zero error.
Bryan came up with these changes quickly:
Tools.cpp - line 994 :
double corr_xy = cov_xy / sqrt( x_var * y_var + 0.000001 );
ObjFunc.cpp - line 36 :
totalSim += abs( corr( prediction[i], ground_truth[i] ) );
The text was updated successfully, but these errors were encountered: