county, random population coordinates were generated using the complete spatial randomness (CSR) function in S-PLUS. Then, the background information was attached to each individual county based on the county?s distribution for the class of interest. Finally, all counties were merged into a single dataset that describes the whole state
% [BestPop,Trace]=fmaxga(FUN,LB,UB,eranum,popsize,pcross,pmutation)
% Finds a maximum of a function of several variables.
% fmaxga solves problems of the form:
% max F(X) subject to: LB <= X <= UB
% BestPop--------最優(yōu)的群體即為最優(yōu)的染色體群
% Trace----------最佳染色體所對應(yīng)的目標(biāo)函數(shù)值
% FUN------------目標(biāo)函數(shù)
% LB-------------自變量下限
% UB-------------自變量上限
% eranum---------種群的代數(shù),取100--1000(默認(rèn)1000)
% popsize--------每一代種群的規(guī)模;此可取50--100(默認(rèn)50)
% pcross---------交叉的概率,此概率一般取0.5--0.85之間較好(默認(rèn)0.8)
% pmutation------變異的概率,該概率一般取0.05-0.2左右較好(默認(rèn)0.1)
% options--------1×2矩陣,options(1)=0二進(jìn)制編碼(默認(rèn)0),option(1)~=0十進(jìn)制編碼,option(2)設(shè)定求解精度(默認(rèn)1e-4)
This demo nstrates the use of the reversible jump MCMC simulated annealing for neural networks. This algorithm enables us to maximise the joint posterior distribution of the network parameters and the number of basis function. It performs a global search in the joint space of the parameters and number of parameters, thereby surmounting the problem of local minima. It allows the user to choose among various model selection criteria, including AIC, BIC and MDL
開發(fā)客戶/服務(wù)器應(yīng)用程序時,一個需要考慮的問題是,面向集合還是面向記錄?客戶程序并不是
像桌面數(shù)據(jù)庫程序那樣直接面對數(shù)據(jù)庫表,而只是面對數(shù)據(jù)的子集。
客戶程序在向服務(wù)器請求數(shù)據(jù)時,得到的數(shù)據(jù)可能是由一個或多個表中的字段構(gòu)成的,而請求是
通過結(jié)構(gòu)化查詢語言( S Q L )實現(xiàn)的。
光學(xué)設(shè)計軟件zemax源碼:
This DLL models an nular aspheric
surface as described in:
"Annular surfaces in annular field systems"
By Jose M. Sasian
Opt. eng. 36 (12) P 3401-3401 December 1997
This surface is essentially an odd aspheric surface with an offset in the aspheric terms.
The sag is given by:
Z = (c*r*r) / (1+(1-((1+k)*c*c*r*r))^ 1/2 ) + a*(r-q)^2 + b*(r-q)^3 + c*(r-q)^4 + ...
Note the terms a, b, c, ... have units of length to the -1, -2, -3, ... power.