📄 validation.bsh
字号:
// Creates a copy of the neural networkjMon.setExporting(true);newNet = jNet.cloneNet();jMon.setExporting(false);// Cleans the old listenersnewNet.removeAllListeners();// Set all the parameters for the validationnnv = new NeuralNetValidator(newNet);nnv.addValidationListener((NeuralValidationListener)this);nnv.start(); // Validates the netvoid netValidated(NeuralValidationEvent e) { // Shows the RMSE at the end of the cycle NN = e.getSource(); txt.setText(NN.getMonitor().getGlobalError().toString()); fr.pack();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -