logZero¶
-
NeuralNetwork.
logZero
()¶ 値が0の比率と負の比率をログ出力する。
ソース¶
logZero(){
for (let l of this.layers) {
console.log(
l.constructor.name
+ this.countZero("z" , l.z_)
+ this.countZero("y" , l.y_)
+ this.countZero("B" , l.bias)
+ this.countZero("W" , l.weight)
+ this.countZero("δy", l.deltaY)
+ this.countZero("δz", l.deltaZ)
+ this.countZero("δB", l.deltaBias)
+ this.countZero("δW", l.deltaWeight)
);
}
}