Skip to content

ankikadey/Machine-Learning-With-Python

Repository files navigation

Machine-Learning-With-Python

Table of Contents

Introduction

This repository contains two Python scripts for machine learning projects related to medical diagnosis and classification. The first script utilizes the Naive Bayes algorithm for the diagnosis of diabetes, while the second script employs a Keras model for the classification of Iris flowers.

Diabetes Diagnosis using Naive Bayes

Description

The diabetes diagnosis script (Diabetes.py) is designed to predict whether an individual is likely to have diabetes or not. It is implemented using the Naive Bayes algorithm, a probabilistic classifier based on Bayes' theorem. The dataset used for training and testing is given.

Dependencies

  • Python 3.x
  • scikit-learn

To install the required dependencies, run:

pip install scikit-learn

Usage

  • Clone the repository:
git clone https://github.com/ankikadey/Machine-Learning-With-Python.git
cd Machine-Learning-With-Python
cd Diabetes-Detection-Using-NB
  • Run the diabetes diagnosis script:
python Diabetes.py

Iris Classification with Keras

Description

The Iris classification script (Iris-with-keras.ipynb) is focused on classifying Iris flowers into different species using a deep learning model built with the Keras library. The dataset used is the well-known Iris dataset, which is included in scikit-learn.

Dependencies

  • Python 3.x
  • TensorFlow
  • Keras

To install the required dependencies, run:

pip install tensorflow keras

Usage

  • Clone the repository:
git clone https://github.com/ankikadey/Machine-Learning-With-Python.git
cd Machine-Learning-With-Python
cd Iris Classification Using Neural Network
  • Run the Iris Classification script:
python Iris-with-keras.py

Notebooks

You can view the Jupyter Notebooks in this project using the following links:

About

Machine learning codes in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published