Introduction - If you have any usage issues, please Google them yourself
First, the direct training of BP network with GA the weight algorithm
Main program: gafault.m It includes the following routines:
1. BP network initialization: nninit.m-- given P, T, R, S1, S2
2. Fitness calculation functions: gabpEval.m
3. Of genetic algorithms for the BP network codec corresponding weights, the threshold function: gadecod.m
Second, with the GA first aim at the weight of BP network, and then direct the training of pure BP mixture of BP algorithm GA-BP
Main program: gabpfault.m It includes the following routines:
1. Network initialization: nninit.m-- given P, T, R, S1, S2
2. Fitness calculation functions: gabpEval.m
3. Of genetic algorithms for the BP network codec corresponding weights, the threshold function: gadecod.m
3, pure BP
Main program: (1) bpfault.m on the MATLAB5.2
(2) bpfault.m the MATLAB6.5 for the subsequently added