Healthcare Datasets is a complete, portfolio-ready data science project built around a synthetic healthcare dataset designed for practical analysis and machine learning work. The project provides a realistic environment for learning and experimentation while keeping privacy at the center by using non-identifiable, synthetic patient records.
This repository is structured to support the full analytics lifecycle: dataset validation, exploratory analysis, visualization, and baseline predictive modeling. It helps learners move beyond isolated notebook experiments and practice reproducible, script-driven workflows that reflect real-world data science execution.
The project is designed for multiple experience levels. Beginners can focus on profiling and data cleaning fundamentals, intermediate users can build stronger feature pipelines and model evaluations, and portfolio builders can present a healthcare-focused project with clear documentation and reproducibility.
Synthetic healthcare dataset project for end-to-end data validation, EDA, visualization, and baseline ML using privacy-safe records.
Tagline: From raw healthcare data to validated insights and baseline predictions.
This repository provides a realistic but privacy-safe dataset and tooling for:
- practicing data cleaning and preprocessing
- performing exploratory data analysis (EDA)
- building visual insights for healthcare trends
- training and evaluating baseline tabular ML models
All records are synthetic and intended for educational, research, and portfolio use where real patient data cannot be shared.
healthcare_dataset.csv: Main dataset.healthcare_datasets.ipynb: Jupyter notebook with EDA and modeling exploration.Healthcare datasets Notes .txt: Working notes and draft analysis.Healthcare datasets primary ask.txt: Additional project notes.scripts/validate_dataset.py: Lightweight dataset quality validator.scripts/eda_summary.py: Console EDA summary report.scripts/train_baseline.py: Baseline multi-class classifier forTest Results.requirements.txt: Python dependencies.
The CSV file contains the following fields:
NameAgeGenderBlood TypeMedical ConditionDate of AdmissionDoctorHospitalInsurance ProviderBilling AmountRoom NumberAdmission TypeDischarge DateMedicationTest Results
- Python 3.10+
pip(latest recommended)
Install dependencies:
pip install -r requirements.txt- Clone the repository.
- Install dependencies with
pip install -r requirements.txt. - Open
healthcare_datasets.ipynbin VS Code or Jupyter. - Update any local file paths in notebook/text notes if needed.
- Run cells from top to bottom.
Run a quick schema and quality check:
python scripts/validate_dataset.pyThe validator checks:
- required columns exist
- key date columns can be parsed
- missing-value summary
- basic categorical value sanity for target columns
Generate an EDA summary report:
python scripts/eda_summary.pyTrain a baseline model:
python scripts/train_baseline.py- Predict
Test Resultsas a 3-class classification task (Normal,Abnormal,Inconclusive) - Analyze billing trends by condition, hospital, or admission type
- Explore demographic patterns and condition prevalence
- Build feature pipelines for tabular ML
- Some working notes currently include Windows-specific local paths. If you run in Linux/macOS, replace those paths with project-relative paths (for example,
healthcare_dataset.csv). - Notebook outputs may include previously generated plots; rerun cells in a clean environment for reproducible results.
This project is shared for educational purposes. The dataset is synthetic and does not include real patient-identifiable data.