-
Description
-
Requirement
-
Installation
-
Directory Structure
-
Usage
This project uses different distance metrics to classify the iris dataset. Also, aims to compare the performance of different distance metrics in terms of Misclassification Error Rate and Accuracy.
- Python 3
- Jupyter Notebook
- Numpy
- Pandas
- Matplotlib
-
Python
-
Visit and download Python from https://www.python.org/downloads/
-
Install and add Python to path
python3 -V
Install pip
sudo apt install python3-pip
-
-
Numpy
Using pip,
pip install numpy
-
Pandas
In command line, change directory to where pip is present
pip install pandas
-
Jupyter notebook
Install the classic Jupyter Notebook using:
pip install notebook
To run the notebook
jupyter notebook
-
Matplotlib
In command line, change directory to where pip is present
pip install -U matplotlib
. ├── src # Source files | ├── Distance_Based_Classification.ipynb # Jupyter Notebook | ├── iris.data | ├── iris.names ├── Distance-Based-Classification.docx ├── Project.md └── README.md
The source code (jupyter notebook) is present in the 'src' folder. The dataset used is iris dataset. The outputs are included in the word document 'Distance-Based-Classification.docx'
Project.md explains the code used in this project.
-
Notifications
You must be signed in to change notification settings - Fork 0
Anagha-Sankar/Distance-Based-Classification
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Classification of IRIS Dataset using various distance metrics.
Topics
cosine-similarity
cosine-distance
mer
minkowski
iris-dataset
manhattan-distance
mahalanobis
mahalanobis-distance
euclidean-distance
iris-classification
minkowski-distance
distance-metrics
city-block-distance
chess-board-distance
correlation-distance
bray-curtis-distance
canberra-distance
misclassification-error-rate
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published