You don't need to be a developer to try this project! Follow these simple steps:
- Python: Make sure you have Python installed. You can download it from python.org.
- Git (optional): If you want to clone the project using Git. Download it from git-scm.com.
You have two options:
- Option 1: Download ZIP
- Click the green
Codebutton at the top right of the repository page. - Select
Download ZIPand extract the files to a folder on your computer.
- Click the green
- Option 2: Clone with Git
- Open your terminal or command prompt.
- Run:
git clone https://github.com/vinh2155/Diabetes-classification.git
- Navigate to the folder where you extracted or cloned the project.
You'll need some Python packages. Install them using pip:
pip install -r requirements.txt
If there is no requirements.txt, you might need to install these packages manually:
pip install numpy pandas scikit-learn matplotlib
- If there's a main script (for example,
main.py,knn.py, ornotebook.ipynb), run it:- For
.pyfiles:python knn.py - For Jupyter Notebook files (
.ipynb):- Install Jupyter if you don't have it:
pip install notebook - Start Jupyter:
jupyter notebook - Open the notebook file in your browser.
- Install Jupyter if you don't have it:
- For
- Follow any instructions printed in the terminal or inside the notebook.
- The script should output results or display plots about diabetes classification.
I did this project to test out a new model K-Nearest Neighbors (KNN) and use the cross validation evaluation method. I also learned how to replace missing values, to interpret data using a confusion matrix, to analyze informations using correlation functions.
Need help?
If you get stuck, please open an issue in this repository or ask for help!