A tensorflow model written in Python
In particular, it uses a dataset of images to create a model that can distinguish between chest images that have and don't have cancer.
Tensorflow 2.4 was implemented as part of this project to gain a deeper understanding of the software and to serve as an example for other similar projects in the future.
As a programming enthusiast in this subfield, I considered tensorflow to be the best machine learning framework available. My choice of technology is based on this.
Besides learning more about the framework and machine learning, I also gained a better understanding of programming and how it works in real time.
To be able to complete the project, I had to figure out and comprehend what had to be written.
This project stands out from the crowd due to its concise code. Furthermore, the model is easy to use and intuitive.
Upgrade pip and install pipenv
pip install --upgrade --user pip
pip install --upgrade virtualenv
Create and activate the virtual enviroment.The python version already needs to be installed in your pc
I am using this python version because at the moment this python version is compatible with tensorflow and keras
virtualenv envname
Windows:
envname\Scripts\activate
macOS/Linux:
envname/bin/activate
pip install tensorflow==2.4.1 pandas==1.2.4 numpy==1.2 ipykernel
python -m ipykernel install --name=envname
cd ../..
jupyter notebook
Dataset used: https://www.kaggle.com/paultimothymooney/chest-xray-pneumonia