8000 GitHub - whoizahm3d/AI-Assignment-2: Artificial Intelligence Assignment 2 implementing hill climbing, genetic algorithms, and a driver positioning problem using Python and Jupyter notebooks. · GitHub
[go: up one dir, main page]

Skip to content
  • About

    Artificial Intelligence Assignment 2 implementing hill climbing, genetic algorithms, and a driver positioning problem using Python and Jupyter notebooks.

    Resources

    Stars

    0 stars

    Watchers

    0 watching

    Forks

    Latest commit

     

    History

    46 Commits

    Folders and files

    NameName
    Last commit message
    Last commit date
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    Repository files navigation

    Artificial Intelligence — Assignment 2

    This repository contains the implementation and analysis for Assignment 2 of an Artificial Intelligence course.
    The project focuses on applying search algorithms and evolutionary techniques to solve optimization and positioning problems using Python.


    Badges

    Python Jupyter NumPy Status License


    Overview

    The assignment is structured around three core approaches:

    • Local Search (Hill Climbing) for iterative optimization
    • Genetic Algorithms for population-based search
    • A real-world optimization problem (Driver Positioning)

    Each section includes both implementation and analysis of algorithm behavior.


    Key Highlights

    • Implemented multiple hill climbing strategies and analyzed convergence behavior
    • Developed a complete genetic algorithm pipeline (selection, crossover, mutation, evolution)
    • Modeled and solved a real-world optimization problem using AI techniques
    • Performed comparative evaluation of different approaches

    Repository Structure

    AI-Assignment-2/
    │
    ├── notebooks/
    │   ├── local_Search.ipynb
    │   ├── genetic_algo.ipynb
    │   └── real_world.ipynb
    │
    ├── report/
    │   └── ai_assignment_2_report.pdf
    │
    ├── docs/
    │   ├── methodology.md
    │   ├── results.md
    │   └── assumptions.md
    │
    ├── requirements.txt
    ├── README.md
    ├── LICENSE
    └── .gitignore
    

    Technologies Used

    • Python 3
    • NumPy
    • Jupyter Notebook

    How to Run

    # Clone the repository
    git clone https://github.com/whozahm3d/AI-Assignment-2.git
    
    # Navigate into the project
    cd AI-Assignment-2
    
    # Install dependencies
    pip install -r requirements.txt
    
    # Launch Jupyter Notebook
    jupyter notebook

    Open any notebook inside the notebooks/ directory.


    Report

    Detailed methodology, analysis, and results are available in:

    /report/ai_assignment_2_report.pdf
    

    Learning Outcomes

    • Understanding of local search algorithms and their limitations
    • Exploration of exploration vs exploitation trade-offs
    • Implementation of genetic algorithms from scratch
    • Application of AI techniques to a real-world problem

    Author

    Ali Ahmad
    BS Data Science


    License

    This project is licensed under the MIT License. See the LICENSE file for details.

    About

    Artificial Intelligence Assignment 2 implementing hill climbing, genetic algorithms, and a driver positioning problem using Python and Jupyter notebooks.

    Resources

    Stars

    0 stars

    Watchers

    0 watching

    Forks

    Releases

    Packages

    Contributors

    Languages

    0