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.
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
- ๐ 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
- Clone the Repository
git clone https://github.com/your-username/trahulsingh-ai-practice-codes.git
cd trahulsingh-ai-practice-codes- Install Dependencies
pip install -r requirements.txt- 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 ownrequirements.txtโ make sure to install them before use.
- AI/ML students & hobbyists
- Academic lab submissions
- Revision and interviews
- Learning foundational AI programming
- ๐จโ๐ป T RAHUL SINGH
Pull requests and suggestions are welcome!
This project is licensed under the MIT License.
If you found this helpful, leave a โญ on GitHub!