Ahmed Gad
Ahmed Gad
I encountered this error and solved it. Note that this error may exist even if the model is able to find the dataset. Most of the people say there is...
Thank you! The dataset is simply a NumPy array saved into a `.npy` file. You can simply use a loop that reads some images, append each image into a NumPy...
Thank you. The issue is solved and a new release is published (2.18.1). Please update the package using `pip`.
Hi @ardeleanasm, Thank you! Note that `probs` should be a 1D NumPy array with number of elements equal to the number of solutions. So, we cannot assign it an integer...
Thanks @ardeleanasm! If you found any issues or suggestions, please do not hesitate to report them.
Hi @xoyeon, Yes, you can do that! Here are the steps: 1. Set the `save_best_solutions` parameter to `True`. This will save the fitness values of the best solutions in the...
Awesome! Happy your concern is addressed.
Hi @sebastianardelean, Please refer to this issue: https://github.com/ahmedfgad/GeneticAlgorithmPython/issues/39 Does this solve your problem?
So, if you have `Distance=0.5` for example and one of the conditions hold, then the value returned by the fitness function is still `0.5` not `Inf`? Correct me if I...
Yes, you are right. There was an issue returning the indices of the selected parents. But still the correct parents are returned because `rand_indices[selected_parent_idx]` is correctly used to return the...