https://github.com/zg3z/iris-classifier
https://github.com/zg3z/iris-classifier
ai classification iris-classification java knn perceptron
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zg3z/iris-classifier
- Owner: ZG3Z
- Created: 2022-07-29T12:24:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T15:43:32.000Z (about 3 years ago)
- Last Synced: 2025-06-01T09:52:47.631Z (9 months ago)
- Topics: ai, classification, iris-classification, java, knn, perceptron
- Language: Java
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# classifier-AI
* [Introduction](#introduction)
* [Data description](#data-description)
## Introduction
K-nearest neighbors algorithm and Perceptron algorithm for classification implemented from scratch in Java. Selected on the basis of given parameters. 1 argument - K-nearest neighbors algorithm, the argument transfers the k parameter (number of nearest objects of observations from the training set). 2 arguments - Perceptron algorithm, the arguments are threshold and rate. Tested on an iris dataset. At the output we get assignment accuracy.
## Data description

This dataset consists of samples from each of three species of Iris(Iris setosa, Iris virginica and Iris versicolor). Each sample has four features: sepal length, sepal width, petal length and petal width.