weightinitialization.java

来自「利用Java实现的神经网络工具箱」· Java 代码 · 共 30 行

JAVA
30
字号
/* * Created on 20/10/2004 *  * TODO To change the template for this generated file go to Window - * Preferences - Java - Code Generation - Code and Comments */package neuralnetworktoolkit.neuralnetwork.weightinitialization;import neuralnetworktoolkit.neuralnetwork.INeuralNetwork;/** * @author iver *  * TODO To change the template for this generated type comment go to Window - * Preferences - Java - Code Generation - Code and Comments */public abstract class WeightInitialization {		public abstract void initialize(INeuralNetwork nn);				protected static double randomNumber(double min, double max) {        double rawRandomNumber;                      rawRandomNumber =  (Math.random() * (max - min + 1) ) + min;                              return rawRandomNumber;            }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?