rv:: kohonen:: removed debug

This commit is contained in:
Zeno Rogue 2022-03-01 08:44:59 +01:00
parent beb47aeb26
commit 1e07875d05
1 changed files with 6 additions and 7 deletions

View File

@ -650,7 +650,6 @@ void step() {
tt = pow(tt, ttpower);
double sigma = maxdist * tt;
int dispid = int(dispersion_count * tt);
if(qpct) {
int pct = (int) ((qpct * (t+.0)) / tmax);
@ -658,12 +657,12 @@ void step() {
lpct = pct;
analyze();
if(gaussian)
println(hlog, format("t = %6d/%6d %3d%% sigma=%10.7lf maxudist=%10.7lf\n", t, tmax, pct, sigma, maxudist));
else
println(hlog, format("t = %6d/%6d %3d%% dispid=%5d maxudist=%10.7lf\n", t, tmax, pct, dispid, maxudist));
}
}
// if(gaussian)
// println(hlog, format("t = %6d/%6d %3d%% sigma=%10.7lf maxudist=%10.7lf\n", t, tmax, pct, sigma, maxudist));
// else
// println(hlog, format("t = %6d/%6d %3d%% dispid=%5d maxudist=%10.7lf\n", t, tmax, pct, dispid, maxudist));
// }
} //
int id = hrand(samples);
neuron& n = winner(id);
whowon.resize(samples);