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: aimacode/aima-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mohsinm-dev/aima-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 11, 2024

  1. Fix incorrect parameters in np.argmax() for Genetic Algorithm in tsp.py

    Issue #1256: Replace np.argmax with argmax_random_ties to correctly reference method and avoid TypeError.
    mohsinm-dev committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    25f19c3 View commit details
    Browse the repository at this point in the history
  2. Fix ValueError in test_svc for test_learning.py and test_learning4e.py

    Issue #1272: Updated optimizer parameter from lr to learning_rate in deep_learning4e.py to resolve Rank(A) < p error.
    mohsinm-dev committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    fcc85b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2026

  1. Configuration menu
    Copy the full SHA
    57f0cf4 View commit details
    Browse the repository at this point in the history
  2. Use utils.argmax_random_tie for best-individual selection in tsp.py

    np.argmax does not accept a key argument (TypeError), and np.argmax_random_tie
    does not exist (argmax_random_tie lives in utils). Use utils.argmax_random_tie
    in both the genetic algorithm and hill climbing loops.
    dmeoli committed Jun 26, 2026
    Configuration menu
    Copy the full SHA
    03d4e1a View commit details
    Browse the repository at this point in the history
Loading