⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 validation.bsh

📁 这是一个神经网络的开发工具
💻 BSH
字号:
// Prints out the cycle and the training errorcycle = jMon.getTotCicles()-jMon.getCurrentCicle()+1;System.out.println("Cycle #"+cycle);System.out.println("    Training Error:   "+jMon.getGlobalError().toString());// 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(this);nnv.start();  // Validates the netvoid netValidated(NeuralValidationEvent e) {	// Shows the RMSE at the end of the cycle	NN = e.getSource();	System.out.println("    Validation Error: "+NN.getMonitor().getGlobalError().toString());}

⌨️ 快捷键说明

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