Method for optimizing BP neural network based on improved bacterial foraging algorithm

A technology of BP neural network and bacterial foraging algorithm, which is applied in the field of optimizing BP neural network based on improved bacterial foraging algorithm, can solve the problems of insufficient convergence speed and no improvement in algorithm complexity, so as to achieve the improvement of global optimization ability and the improvement of search efficiency. The effect of improving precision and optimizing weights

Pending Publication Date: 2020-12-25
DALIAN UNIV
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above method has achieved better performance than the standard bacterial foraging algorithm in terms of test functions or practical problems, but it still uses the bacterial foraging process, especially in the chemotaxis process, which first performs an arbitrary unit direction flip , and then perform multi-step forward operation, the complexity of the algorithm is not improved, and the convergence speed is not fast enough

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for optimizing BP neural network based on improved bacterial foraging algorithm
  • Method for optimizing BP neural network based on improved bacterial foraging algorithm
  • Method for optimizing BP neural network based on improved bacterial foraging algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] The present embodiment provides the method for optimizing the BP neural network based on the improved bacterial foraging algorithm, including:

[0053] S1. Determine the neural network structure and set its relevant parameters;

[0054] Determine the neural network structure and set its relevant parameters, specifically including: according to the neural network structure, set the number of neurons in the input layer, hidden layer and output layer, determine the transfer function, output function, and training accuracy; Number S, number of migration Ned, number of reproduction Nre, number of chemotaxis Nc, number of swimming Ns, and migration probability Ped parameters are set.

[0055] S2. Initialize the position of the bacteria, set the target input and target output of the neural network according to the training sample set and the test sample set;

[0056] The way to initialize the position of the bacteria is,

[0057] X=X min +rand*(X max -X min )

[0058] Am...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for optimizing a BP neural network based on an improved bacterial foraging algorithm. The method comprises the steps that: a neural network structure is determined, and related parameters of the neural network structure are set; the positions of bacteria are initialized; a bacterial component is converted into the weight and threshold of the neural network; the bacteria are turned over, so that a fitness value after one-time turning over is obtained, and if the fitness value becomes better, the bacteria are moved by a corresponding step length according to a turning-over direction; bacterial energy is obtained, one half of poor bacterial energy is eliminated, the other half of the poor bacterial energy is bred, and child bacteria have the same position andstep length as mother bacteria; the pheromone concentration of the current bacteria is acquired, the transition probability is calculated, and the positions of the bacteria are updated, so that an updated fitness value is obtained; and a group optimal solution is obtained, and the optimal solution is converted into the weight and threshold of the neural network. The method optimizes the weight andthreshold of the neural network, improves the performance of the neural network, and enables a prediction result to be more accurate.

Description

technical field [0001] The invention relates to the field of data mining, in particular to a method for optimizing a BP neural network based on an improved bacterial foraging algorithm. Background technique [0002] In recent years, swarm intelligence optimization algorithms have been widely used, most of which are based on higher organisms as inspiration objects. Passino proposed the Bacterial Foraging Algorithm (Bacterial Foraging Optimization, BFO) in 2002, starting from the behavior mechanism of microorganisms, simulating the perception of bacteria on the environment. Changes are achieved through competition and cooperation of bacterial populations. It provides a new idea for the study of bionic computing. As an optimization algorithm in continuous domain, BFO algorithm has the advantages of parallel search and easy jumping out of local minimum, and is widely used in image analysis and processing, controller optimization design and neural network training. [0003] In ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06N3/08
CPCG06N3/084G06N3/086
Inventor 邱少明王雪珂杜秀丽吕亚娜
Owner DALIAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products