Just a simple implementation of K-Nearest Neighbour algorithm.

Overview

A simple K-Nearest Neighbor (KNN) Java library

What is this repository for?

  • Its a very simple implementation of K-Nearest Neighbor algorithm for Supervide Learning (user labeled data)
  • Version 1.0

Features presents

  • The following similarities metrics are presents:
    • Euclidian Distance
    • Jaccard Distance
    • Pearson Correlation
    • Cosine Distance
    • Minkowski Distance (to be done)
    • Manhattan Distance (to be done)
    • Mahalanobis Distance (to be done)
  • A naive knn implementation with (or without) k-fold cross-validation.

How to use

  • Just clone the project
  • Setup your project
  • Init a SimpleKNNClassifier
  • Inject the SimilarityCalculator of your choice into SimpleKNNClassifier instance
  • Fit with some labeled data
  • Train the classifier (you can choose if you want to train using k-fold cross validation or not)
  • Pass some data to predict() method and see the label predicted
You might also like...

A powerful, extendable, flexible yet simple to use commands annotation framework.

Lamp Background Building commands has always been a core concept in many applications, and, lots of times, a really boring and cumbersome one to pull

Jan 5, 2023

Simple ATM Machine made with Java

Output / Preview Enter your account number: Enter your pin number: ATM main menu: 1. - View Account Balance 2. - Withdraw funds 3. - Add funds 4. - T

Oct 21, 2021

A simple utility that allows you to query which items can be placed in a specific slot by holding down Left-Alt

A simple utility that allows you to query which items can be placed in a specific slot by holding down Left-Alt

What's That Slot This mod is a simple utility that allows you to query which items can be placed in a specific slot by holding down Left-Alt. You can

Dec 25, 2022

MathParser - a simple but powerful open-source math tool that parses and evaluates algebraic expressions written in pure java

MathParser - a simple but powerful open-source math tool that parses and evaluates algebraic expressions written in pure java

MathParser is a simple but powerful open-source math tool that parses and evaluates algebraic expressions written in pure java. This projec

Dec 24, 2022

A Recruitment bot that uses K-Nearest Neighbors Algorithm to determine whether you should hire the applicant or not

knn_recruitment A Recruitment bot that uses K-Nearest Neighbors Algorithm to determine whether you should hire the applicant or not It uses the data i

Feb 11, 2022

Reference implementation for MINAS (MultI-class learNing Algorithm for data Streams), an algorithm to address novelty detection in data streams multi-class problems.

Reference implementation for MINAS (MultI-class learNing Algorithm for data Streams), an algorithm to address novelty detection in data streams multi-class problems.

Sep 7, 2022

Just-In-Time Access is an AppEngine application that lets you manage just-in-time privileged access to Google Cloud projects.

Just-In-Time Access is an AppEngine application that lets you manage just-in-time privileged access to Google Cloud projects.

Just-In-Time Access Just-In-Time Access is an AppEngine application that lets you manage just-in-time privileged access to Google Cloud projects. Syno

Jan 3, 2023

A DJL Algorithm used to detect if a Image contains a person such as Dream, Sapnap, George Not Found, TommyInnit, Tubbo or Ranboo. This Project has been created for a YouTube Video which is not yet finished, and neither is the Algorithm.

PissAI Personal Individuality Security Service Artificial Intelligence A DJL Algorithm used to detect if an Image contains a person such as Dream, Sap

Nov 19, 2022

RTree2D is a 2D immutable R-tree with STR (Sort-Tile-Recursive) packing for ultra-fast nearest and intersection queries

RTree2D is a 2D immutable R-tree with STR (Sort-Tile-Recursive) packing for ultra-fast nearest and intersection queries

RTree2D RTree2D is a 2D immutable R-tree with STR (Sort-Tile-Recursive) packing for ultra-fast nearest and intersection queries. Goals Main our requir

Dec 14, 2022

A plugin in which you get teleported to the nearest graveyard from where you died

A plugin in which you get teleported to the nearest graveyard from where you died, You can create, delete, and change locations of them. Originally Developed for Inclusive Rec server but will work for others.

Jan 27, 2022

Hashids algorithm v1.0.0 implementation in Java

Hashids.java A small Java class to generate YouTube-like hashes from one or many numbers. Ported from javascript hashids.js by Ivan Akimov What is it?

Jan 5, 2023

A novel implementation of the Raft consensus algorithm

Copycat Copycat has moved! Copycat 2.x is now atomix-raft and includes a variety of improvements to Copycat 1.x: Multiple state machines per cluster M

Dec 6, 2022

Hashids algorithm v1.0.0 implementation in Java

Hashids.java A small Java class to generate YouTube-like hashes from one or many numbers. Ported from javascript hashids.js by Ivan Akimov What is it?

Dec 29, 2022

"Pathfinder" - a small demo app made in Java, using Swing which shows an example implementation of a pathfinding algorithm based on BFS

"Pathfinder" is a small demo app made in Java, using Swing which shows an example implementation of a pathfinding algorithm based on BFS.

Mar 9, 2022

A near-real-time Mesh Join Algorithm Implementation provided with a Complete Data warehouse for METRO

A near-real-time Mesh Join Algorithm Implementation provided with a Complete Data warehouse for METRO

Mesh Join Algorithm and Data Warehouse A complete Mesh-Join Algorithm Implementation as provided in the paper R-MESHJOIN . This is demonstrated by the

Aug 11, 2022

Search API with spelling correction using ngram-index algorithm: implementation using Java Spring-boot and MySQL ngram full text search index

Search API with spelling correction using ngram-index algorithm: implementation using Java Spring-boot and MySQL ngram full text search index

Search API to handle Spelling-Corrections Based on N-gram index algorithm: using MySQL Ngram Full-Text Parser Sample Screen-Recording Screen.Recording

Dec 4, 2021

Simple Android app during a coding night. Just Learning Firebase and Android

Simple Android app during a coding night. Just Learning Firebase and Android

KUI-App Simple Android app during a coding night. Just Learning Firebase and Android What we learned: Some basics of Android Basic setup of Firebase:

Aug 28, 2022

Simple Java image-scaling library implementing Chris Campbell's incremental scaling algorithm as well as Java2D's "best-practices" image-scaling techniques.

imgscalr - Java Image-Scaling Library http://www.thebuzzmedia.com/software/imgscalr-java-image-scaling-library/ Changelog --------- 4.2 * Added sup

Jan 5, 2023

Just a fun little word game! 🍄

Just a fun little word game! 🍄

Wordagam A fun & interactive word game. Check out the screenshots and the gameplay video. Download & Play Download the latest artefacts here. You can

Dec 24, 2022
Releases(1.0.1)
Owner
Felipe Appio
Senior Software Engineer | Tech Lead @ Zup Innovation
Felipe Appio
Reference implementation for MINAS (MultI-class learNing Algorithm for data Streams), an algorithm to address novelty detection in data streams multi-class problems.

Reference implementation for MINAS (MultI-class learNing Algorithm for data Streams), an algorithm to address novelty detection in data streams multi-class problems.

Douglas M. Cavalcanti 4 Sep 7, 2022
neutriNote - Markdown + Math in Just 3 MB!

Official | FAQ | Documentation | Mastodon | XDA neutriNote (Community Edition) What is neutriNote? In a nutshell, all-in-one preservation of written t

AppML 186 Jan 3, 2023
Teaching materials for Algorithm Bootcamp: Object-Oriented Programming.

Object Oriented Programming Materials Materials Topics Code Introduction to Java Variables and Data Types Operators I/O Selection and Repetition 00_in

Elvan Selvano 17 Nov 8, 2022
Realization of clustering algorithm "kmeans" on Java

kmeans Realization of clustering algorithm "kmeans" on Java Лабораторная работа №2 Ниже представлен отчёт по проделанной второй лабораторной работе (в

Life Sweetener 1 Jan 22, 2022
Data Structure & Algorithm in JAVA

Data Stucture & Algorithm in JAVA A complete guide of Data Structure & Algorithms in JAVA language. What is JAVA Java is a general-purpose, object-ori

Debargha Mitra Roy 2 Apr 18, 2022
Hierarchical Temporal Memory implementation in Java - an official Community-Driven Java port of the Numenta Platform for Intelligent Computing (NuPIC).

htm.java Official Java™ version of... Hierarchical Temporal Memory (HTM) Community-supported & ported from the Numenta Platform for Intelligent Comput

Numenta 301 Dec 1, 2022
java math accurate implementation & experiments

Marlin-Math Accurate and fastest Math functions in java, like the Marlin renderer ! Rationale Java supports Quadratic & Cubic curves in Java2D & JavaF

Laurent Bourgès 7 Nov 18, 2021
Chih-Jen Lin 4.3k Jan 2, 2023
Abstract machine for formal semantics of SIMP (Simple Imperative Language)

SIMP-abstract-machine In 2020/21 I was a Teaching Assistant for the second year module 5CCS2PLD Programming Language Paradigms at King's College Londo

Sten Arthur Laane 25 Oct 10, 2022
A Simple movies app using JAVA,MVVM and with a offline caching capability

IMDB-CLONE A simple imdb clone using JAVA,MVVM with searching and bookmarking ability with offline caching ability screenshots Home Screen 1 Home Scre

saiteja janjirala 13 Aug 16, 2022