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
Running python test.py synuni gives the following error
Traceback (most recent call last):
File "test.py", line 38, in <module>
syn_mix.run_test_mix(m=200, n=100, k=50)
File "KDEm/test_syn_mix.py", line 102, in run_test_mix
np.savetxt(".//measure_syn//syn_auc_avg_mix"+"_"+str(lbda)+"_"+str(p_unre)+".txt",avg_m, fmt='%.4f')
File "/usr/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 1098, in savetxt
fh = open(fname, 'w')
IOError: [Errno 2] No such file or directory: './/measure_syn//syn_auc_avg_mix_10_0.1.txt'
Creating the folder resolves the issue, would be nice to include in either documentation or the code mkdir measure_syn
Error when running python test.py realpop
downloaded and copied the data as in the README
/KDEm/CRH.py:40: RuntimeWarning: divide by zero encountered in double_scalars
err = la.norm(truth-truth_old)/la.norm(truth_old)
End test.
The text was updated successfully, but these errors were encountered:
vedina
changed the title
Error when running test.py
Error when running the examples
Oct 7, 2017
Error running
test.py
Running
python test.py synuni
gives the following errorCreating the folder resolves the issue, would be nice to include in either documentation or the code
mkdir measure_syn
Error when running
python test.py realpop
downloaded and copied the data as in the README
The text was updated successfully, but these errors were encountered: