Welcome to the Hyperthyroidism Detection Project! This project utilizes the capabilities of Machine Learning (ML) to develop a predictive model for diagnosing hyperthyroidism in patients. The goal is to contribute to improved medical diagnostics and decision-making in the field of thyroid disorders.
This project employs Multinomial Naive Bayes, Support Vector Machine (SVM), Random Forest, and Multilayer Perceptron (MLP) classifiers to predict hyperthyroidism based on various features related to thyroid function tests, symptoms, and medical history.
- Python 3.x
- Jupyter Notebook
- Required libraries (see requirements.txt)
-
Clone the repository:
git clone https://github.com/hzaheer48/hyperthyroidism-detection.git cd hyperthyroidism-detection
-
Install dependencies:
pip install -r requirements.txt
-
Open the Jupyter Notebook:
jupyter notebook Thyroid.ipynb
The project begins with importing hyperthyroidism-related data and cleaning it to ensure the dataset's integrity. Columns with missing values are handled, and unnecessary columns are dropped.
Explore visualizations to gain insights into the gender distribution, age and gender distribution, boolean column distribution, measured thyroid parameters, and more.
Various machine learning models, including Multinomial Naive Bayes, SVM, Random Forest, and MLP, are trained and evaluated to predict hyperthyroidism accurately.
- Open the Jupyter Notebook in your local environment.
- Execute each cell sequentially to run the entire project.
- Analyze the visualizations and model accuracies.
Contributions are welcome! If you have suggestions or improvements, please open an issue or create a pull request.
This project is licensed under the MIT License.