ahmedfgad / neuralgenetic Goto Github PK
View Code? Open in Web Editor NEWBuilding and training artificial neural networks (regression or classification) using the genetic algorithm.
Home Page: https://pygad.readthedocs.io
Building and training artificial neural networks (regression or classification) using the genetic algorithm.
Home Page: https://pygad.readthedocs.io
example_regression_fish案例中,请问可以打印输出适应度最优的自变量具体值嘛?
Hi!
Thank you for sharing this. Anyway may I know why the fitness is set to -999999999?
fitness[max_fitness_idx] = -99999999999
Why is it -? Wasn't fitness is based on accuracy which should be 100%?
Hi Ahmed!
I would like to know, why the new population created based on lines 88-90 is based on parents+offspring?
What is the rationale? Why isn't offspring alone?
Hi :)
Thank you for that work!
I tried to clone and run it, however, I am getting the following error :
Generation : 0
Traceback (most recent call last):
File "Example_GA_ANN.py", line 64, in
activation="sigmoid")
File "/MacLeo/NeuralGenetic/ANN.py", line 31, in fitness
accuracy[sol_idx], _ = predict_outputs(curr_sol_mat, data_inputs, data_outputs, activation=activation)
File "/MacLeo/NeuralGenetic/ANN.py", line 16, in predict_outputs
r1 = numpy.matmul(a=r1, b=curr_weights)
ValueError: invalid number of arguments
Any ideas?
Thanks for the help !
Regards
Hello,
I have a project for solving PDE using Neural Networks and I interest for using PyGAD. Can PyGAD be used for solving PDE?
Thank you very much
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.