How noor-alishba/ai_ml_internship works
This repository is an internship portfolio spanning student-record management, a command-line calculator, data analysis and heart-disease modeling, and model-serving APIs. The clearest runtime workflows are student CRUD through CLI or web interfaces into validated in-memory records and JSON persistence, calculator menu actions into arithmetic/scientific operations, and patient requests into model predictions and JSON responses. The README documents broader analysis, model-optimization, and API capabilities; those branches are represented at the available directory or file level. Unsampled notebook and Week 6 implementation details limit finer-grained relationships.
Main entry points: student_manager.py Record operations · advanced_calculator/main.py Menu and console · app.py Final Flask API · Student_Management_System/main.py CLI interface
Components 22
Student Management
- CLI interface
Week_1/Student_Management_System/main.py - Flask interface
Week_1/Student_Management_System/app.py - Record operations
Week_1/Student_Management_System/student_manager.py - Record validation
Week_1/Student_Management_System/validator.py - Student records
Week_1/Student_Management_System/student.py - JSON persistence
Week_1/Student_Management_System/file_manager.py - Activity logging
Week_1/Student_Management_System/logger.py
CLI Calculator
- Menu and console
Week_1/advanced_calculator/main.py - Calculator operations
Week_1/advanced_calculator/calculator.py - Input validation
Week_1/advanced_calculator/validator.py
Data & Modeling
- Titanic analysis
Week_2 - Heart failure modeling
Week_3/notebook/Heart_Failure_Prediction.ipynb - Model optimization
Week_4/notebook/Heart_Disease_Prediction.ipynb - Persisted model
Week_4/models/heart_disease_model.pkl
Prediction APIs
- Prediction API
Week_5/app.py - Serving model
Week_5/model/heart_disease_model.pkl - Final Flask API
Week_6/app.py - HTML frontend
Week_6/templates/index.html - ASGI wrapper
Week_6/fastapi_app.py
Other components
- Student user
- Calculator user
- Patient-data client
Connections 21
- Student user → CLI interface: uses CLI
README.md - Student user → Flask interface: uses web app
README.md - CLI interface → Record operations: invokes operations
Week_1/Student_Management_System/main.py - Flask interface → Record operations: routes operations
Week_1/Student_Management_System/app.py - Record operations → Record validation: validates fields
Week_1/Student_Management_System/student_manager.py - Record operations → Student records: creates records
Week_1/Student_Management_System/student_manager.py - Record operations → JSON persistence: loads and saves
Week_1/Student_Management_System/student_manager.py - Record operations → Activity logging: records actions
Week_1/Student_Management_System/student_manager.py - JSON persistence → Student records: serializes records
Week_1/Student_Management_System/file_manager.py - Calculator user → Menu and console: selects actions
Week_1/advanced_calculator/main.py - Menu and console → Calculator operations: calls operations
Week_1/advanced_calculator/main.py - Menu and console → Input validation: validates inputs
Week_1/advanced_calculator/main.py - Calculator operations → Input validation: checks operands
Week_1/advanced_calculator/calculator.py - Titanic analysis → Heart failure modeling: later project
README.md - Heart failure modeling → Model optimization: advanced evaluation
README.md - Model optimization → Persisted model: persists model
README.md - Patient-data client → Prediction API: sends prediction
README.md - Prediction API → Serving model: loads and predicts
Week_5/app.py - Patient-data client → Final Flask API: uses final API
README.md - HTML frontend → Final Flask API: frontend access
README.md - ASGI wrapper → Final Flask API: mounts Flask app
Week_6/fastapi_app.py