Skip to content

nurjamil/NEATandCNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEATandCNN

NEAT and CNN Implementation in C++

CNN

 InputFile in;
 in.LoadFromOneFolder(//Your Test / Train Folder Path//);
 
 convolution_layer *CNN = nullptr;
 //initialize CNN
   CNN = new convolution_layer(0.0005, 0.99, false);
   CNN->addLayer1(5,16, Layer_type::convoluteRelu);
   CNN->addLayer3(Layer_type::maxPool);
   CNN->addLayer1(3,32, Layer_type::convoluteRelu);
   CNN->addLayer3(Layer_type::maxPool);
   CNN->addLayer3(Layer_type::flatten);
   CNN->addLayer2(128, Layer_type::fullyConn);
   CNN->addLayer2(8, Layer_type::fullyConnSoftmax);
 
 CNN->training(in.inputD,//batchsize,false);

NEAT

PrepareInput in;
in.LoadFromOneFolder(//Your Test / Train Folder Path//);

NEAT *neat = nullptr;
neat = new NEAT(784, 20, 8, 20);

About

NEAT and CNN Implementation in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages