Skip to content

This repository contains a diverse range of AI-related code examples, projects, and tutorials that I've worked on during my AI learning journey.

License

Notifications You must be signed in to change notification settings

TRahulsingh/AI-Practice-Codes

Repository files navigation

๐Ÿค– AI Practice Codes Repository

Welcome to the AI Practice Codes Repository โ€“ a comprehensive collection of AI mini-projects, notebooks, and hands-on implementations. This repo serves as a portfolio and reference for anyone learning or revising fundamental and advanced concepts in artificial intelligence, machine learning, and data science.


๐Ÿ“ Directory Structure

trahulsingh-ai-practice-codes/
โ”‚
โ”œโ”€โ”€ 8puzzle/                      # 8-puzzle solver using GBFS and state space
โ”œโ”€โ”€ A STAR/                       # A* search algorithm and Jupyter notebook
โ”œโ”€โ”€ classifierss/                # Classifier experiments (MLP, Decision Tree)
โ”œโ”€โ”€ decisiontree/                # Decision Trees on various datasets
โ”œโ”€โ”€ gamebot tic tac toe/         # AI-powered Tic Tac Toe game
โ”œโ”€โ”€ hangman game/                # Python-based hangman game
โ”œโ”€โ”€ Medical Expert System/       # Expert system for diagnosing diseases
โ”œโ”€โ”€ NLP/                         # Natural Language Processing notebooks
โ”œโ”€โ”€ nqueens/                     # N-Queens problem solver
โ”œโ”€โ”€ numpy/                       # NumPy ML demos
โ”œโ”€โ”€ pandas/                      # Pandas exercises and datasets
โ”œโ”€โ”€ prolog/                      # Prolog programs for logic-based AI
โ”œโ”€โ”€ pythonbasics/               # Basic Python & AI lab practice
โ”œโ”€โ”€ textclassification/         # Text classification example
โ”œโ”€โ”€ uninformed search/          # BFS & DFS algorithms
โ”œโ”€โ”€ waterjug code/              # Water jug problem implementations
โ”‚
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ requirements.txt

๐ŸŒŸ Highlights

  • ๐Ÿ” Search Algorithms โ€“ BFS, DFS, GBFS, A* implemented from scratch
  • ๐Ÿค– AI Games โ€“ Tic Tac Toe with logic-based AI, Hangman game
  • ๐Ÿง  Expert Systems โ€“ Rule-based system for medical diagnosis
  • ๐ŸŒฟ ML Classifiers โ€“ Decision Trees, MLP, and SMOTE balancing
  • ๐Ÿงฎ Math & Data Tools โ€“ NumPy, Pandas, basic ML operations
  • ๐Ÿงพ Prolog Demos โ€“ Classic logic programming problems
  • ๐Ÿ—ฃ๏ธ NLP Basics โ€“ spaCy and text classification notebooks

๐Ÿ“ฆ How to Run

  1. Clone the Repository
git clone https://github.com/your-username/trahulsingh-ai-practice-codes.git
cd trahulsingh-ai-practice-codes
  1. Install Dependencies
pip install -r requirements.txt
  1. Run any module or Jupyter Notebook
jupyter notebook
# or run .py files as:
python path/to/file.py

โ„น๏ธ Some folders (e.g., Medical Expert System/) have their own requirements.txt โ€” make sure to install them before use.


๐Ÿง  Best For

  • AI/ML students & hobbyists
  • Academic lab submissions
  • Revision and interviews
  • Learning foundational AI programming

๐Ÿ™Œ Contributors

Pull requests and suggestions are welcome!


๐Ÿ“„ License

This project is licensed under the MIT License.


โญ Show Your Support

If you found this helpful, leave a โญ on GitHub!

About

This repository contains a diverse range of AI-related code examples, projects, and tutorials that I've worked on during my AI learning journey.

Topics

Resources

License

Stars

Watchers

Forks