-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
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] ) );
Reactions are currently unavailable