An open API service indexing awesome lists of open source software.

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

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
![image](https://user-images.githubusercontent.com/102870734/215336151-478373e0-d99a-4d0a-a9fb-7815ebd8a96e.png)
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.