Skip to content

Using the ES algorithm to train RBF-network and implement regression and classification algorithms on the dataset

Notifications You must be signed in to change notification settings

ArmaghanSarvar/Training-RBF-Neural-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Training-RBF-neural-network

Using ES algorithm to train RBF network and implement regression and classification on dataset

in this project python DEAP library has been used in order to get access to Evolution Strategy algorithm and the fitness of evolutionary algorithm has been calculated using the RBF network.

the activation function of the network(G), guessed output(guessedY), weights' matrix(W) and finally the loss which is our fitness have been calculated and modified during the algorithm. ( relations available in the definition.pdf file )

the chromosomes(individuals) include gamma parameter (we know that the radial of the clusters is equal to 1/(gamma^1/2)) + cluster centers. each individual with the length of numOfClusters * (dimension+1)

for regression we have:

  • X(our data) = n * d
  • Y = n * 1
  • W = m * 1 (m = numOfClusters)
  • G = n * m

the output of regdata2000 dataset:

iterations = 10

clusters = 10

  • training mode: error = 0.015

  • testing mode: error = 0.026

for classification we have:

  • X(data) = n * d
  • Y = n * c
  • W = m * c (m = numOfClusters)
  • G = n * m

the output of 5clstest5000 dataset:

note that the wrong classified data is orange and the centers of clusters are green

iterations = 8

clusters = 10

  • training mode: accuracy = 96.5 %

  • testing mode: accuracy = 96.2 %

About

Using the ES algorithm to train RBF-network and implement regression and classification algorithms on the dataset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages