GeneticAlgorithmPython icon indicating copy to clipboard operation
GeneticAlgorithmPython copied to clipboard

AttributeError

Open hanyhabib opened this issue 2 years ago • 1 comments

First of all, Thank you for your efforts.

When I updated PYGAD to release 3.2.0, I've got an error regarding the pygad.kerasga module the erroe message is "AttributeError: module 'pygad' has no attribute 'kerasga'". I was trying the simple regression example

hanyhabib avatar Sep 14 '23 21:09 hanyhabib

Thanks @hanyhabib.

I tested this example and it is working well without any error: https://github.com/ahmedfgad/GeneticAlgorithmPython/blob/master/examples/KerasGA/regression_example.py

Please consider importing kerasga using import pygad.kerasga and verify if the issue still exists.

ahmedfgad avatar Sep 15 '23 00:09 ahmedfgad