Skip to content

A comprehensive collection of AI algorithms including search algorithms, machine learning implementations, and game AI solutions in Python. Features informed/uninformed search, Naive Bayes, object detection, and classic game implementations.

Notifications You must be signed in to change notification settings

Omar7001-B/AI-Search-Algorithms

Repository files navigation

AI & ML Algorithms Implementation 🧠

A comprehensive collection of artificial intelligence and machine learning algorithms implemented in Python. This repository serves as both a learning resource and a practical reference for various AI/ML techniques.

Python License Author

🗂️ Project Structure

1. Search Algorithms

Informed Search /Informed Search Algorithms/

  • A* Search
  • Greedy Best-First Search

Uninformed Search /Uninformed Search Algorithms/

  • Breadth-First Search (BFS)
  • Depth-First Search (DFS)
  • Depth-Limited Search (DLS)
  • Iterative Deepening DFS (IDDFS)
  • Uniform Cost Search (UCS)
  • Dijkstra's Algorithm

2. Machine Learning /MachineLearning/

  • Naive Bayes Classifier
  • Object Detection System

3. Games and Puzzles /Games/

  • Tic-Tac-Toe (Minimax)
  • 8-Puzzle (A*)
  • N-Queens (Genetic Algorithm)

🚀 Getting Started

Prerequisites

  • Python 3.x
  • Required packages (varies by implementation)

Installation

  1. Clone the repository
git clone https://github.com/Omar7001-B/AI-Search-Algorithms.git
cd AI-Search-Algorithms
  1. Install required packages for specific implementations
# For Machine Learning implementations
pip install numpy pandas scikit-learn

# For Object Detection
pip install opencv-python tensorflow

📚 Documentation

Each algorithm implementation includes:

  • Detailed README explaining the algorithm
  • Implementation details and complexity analysis
  • Usage instructions and examples
  • Requirements and dependencies

🎯 Use Cases

  • Search Algorithms: Path finding, puzzle solving, optimization
  • Machine Learning: Text classification, object detection, pattern recognition
  • Games: AI opponents, puzzle solvers, optimization problems

🛠️ Implementation Details

  • Clean, well-documented code
  • Efficient implementations
  • Practical examples and use cases
  • Performance optimizations

📊 Performance

  • Search algorithms optimized for various scenarios
  • ML implementations with good accuracy-speed trade-offs
  • Game AI with intelligent decision making

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

📝 License

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

🙏 Acknowledgments

  • Thanks to all contributors
  • Inspired by classic AI/ML algorithms
  • Built with modern Python practices

📧 Contact

About

A comprehensive collection of AI algorithms including search algorithms, machine learning implementations, and game AI solutions in Python. Features informed/uninformed search, Naive Bayes, object detection, and classic game implementations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages