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

📄 run2.sce

📁 Program in matlab for trainig rbf networks. I hope is good for you.
💻 SCE
字号:
// Initialization and run of differential evolution optimizer// a more complex version with more explicit parameters is in run.m//getf('DiffEvol.sci')    // Differential Evolution function [adapt PATH]getf('rosen.sci')       // Function to minimize            [adapt PATH]// Here for Rosenbrock's function// Change relevant entries to adapt to your personal applications//// VTR		"Value To Reach" (stop when function value < VTR)		VTR = 1.e-6; // D		number of parameters of the objective function 		D = 2; // XVmin,XVmax  column vector of lower and upper bounds of an initial population//    		the algorithm seems to work well only if [XVmin,XVmax] //    		covers the region where the global minimum is expected//               *** note: these are no bound constraints!! ***		XVmin = [-2;-2]; 		XVmax = [2;2];[x,f,nf] = DiffEvol(rosen,VTR,D,XVmin,XVmax)

⌨️ 快捷键说明

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