validation.bsh
来自「拥有图形界面的」· BSH 代码 · 共 18 行
BSH
18 行
// 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 + =
减小字号Ctrl + -
显示快捷键?