Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ahmedfgad/GeneticAlgorithmPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ahmedfgad/GeneticAlgorithmPython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: github-actions
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Jun 9, 2026

  1. Make kerasga.predict faster by not cloning the model

    predict() cloned the whole model on every call and then used
    model.predict(). When predict() runs once per solution inside a fitness
    function, this is slow. It now sets the solution as the model weights,
    restores the original weights at the end, and calls the model directly
    when no batching is asked for. The output is the same and it runs much
    faster. model.predict() is still used when batch_size or steps is given.
    ahmedfgad committed Jun 9, 2026
    Configuration menu
    Copy the full SHA
    dcb75e2 View commit details
    Browse the repository at this point in the history
  2. Increase version

    ahmedfgad committed Jun 9, 2026
    Configuration menu
    Copy the full SHA
    3d1753b View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2026

  1. Avoid duplicate effort

    ahmedfgad committed Jun 10, 2026
    Configuration menu
    Copy the full SHA
    5002fd0 View commit details
    Browse the repository at this point in the history
Loading