Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
mljs
/
knn
Public
Notifications
You must be signed in to change notification settings
Fork
21
Star
142
Code
Issues
2
Pull requests
1
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 6, 2022
refactor: cleanup (#15)
wadjih-bencheikh18
authored
afc1bdb
View commit details
Copy full SHA for afc1bdb
Browse repository at this point
Commits on Aug 4, 2020
doc: use "train_dataset" and "test_dataset" instead of just "dataset" in README (#14)
Knut Behrends
authored
c27462f
View commit details
Copy full SHA for c27462f
Browse repository at this point
Commits on Jun 29, 2019
doc: rebuild docs [ci skip]
targos
committed
af3e158
View commit details
Copy full SHA for af3e158
Browse repository at this point
3.0.0
targos
committed
7ce13fc
View commit details
Copy full SHA for 7ce13fc
Browse repository at this point
chore: update dependencies and remove support for Node.js 6
Show description for 8727324
targos
committed
8727324
View commit details
Copy full SHA for 8727324
Browse repository at this point
Commits on Oct 26, 2017
doc: rebuild docs [ci skip]
targos
committed
54d004f
View commit details
Copy full SHA for 54d004f
Browse repository at this point
2.1.3
targos
committed
4fa0c99
View commit details
Copy full SHA for 4fa0c99
Browse repository at this point
update dependencies
targos
committed
d4e315f
View commit details
Copy full SHA for d4e315f
Browse repository at this point
fix: compute default k correctly
Show description for c69b522
targos
committed
c69b522
View commit details
Copy full SHA for c69b522
Browse repository at this point
Commits on Oct 9, 2017
doc: rebuild docs [ci skip]
0x33467
committed
18a5802
View commit details
Copy full SHA for 18a5802
Browse repository at this point
2.1.2
0x33467
committed
75f35ee
View commit details
Copy full SHA for 75f35ee
Browse repository at this point
Merge pull request #9 from mljs/fix-labels
Show description for ad8fb30
0x33467
authored
ad8fb30
View commit details
Copy full SHA for ad8fb30
Browse repository at this point
chore: update rollup to 0.50.0
0x33467
committed
74b195d
View commit details
Copy full SHA for 74b195d
Browse repository at this point
Commits on Oct 6, 2017
fix: allow strings and non-consecutive numbers labels for classification
0x33467
committed
574cac2
View commit details
Copy full SHA for 574cac2
Browse repository at this point
Commits on Aug 21, 2017
doc: rebuild docs [ci skip]
0x33467
committed
7954aec
View commit details
Copy full SHA for 7954aec
Browse repository at this point
2.1.1
0x33467
committed
10ae5cc
View commit details
Copy full SHA for 10ae5cc
Browse repository at this point
Merge pull request #8 from mljs/mandatory-k
Show description for a8ce3e5
0x33467
authored
a8ce3e5
View commit details
Copy full SHA for a8ce3e5
Browse repository at this point
docs: add docs to KNN
0x33467
committed
0f763af
View commit details
Copy full SHA for 0f763af
Browse repository at this point
fix: change default k to the number of classes + 1
0x33467
committed
d493043
View commit details
Copy full SHA for d493043
Browse repository at this point
Commits on Jul 13, 2017
refactore KDTree to a class and remove unused methods
targos
committed
12ef687
View commit details
Copy full SHA for 12ef687
Browse repository at this point
Commits on Jul 11, 2017
2.1.0
maasencioh
committed
64f87f8
View commit details
Copy full SHA for 64f87f8
Browse repository at this point
feat: add toJSON and load methods (#7)
Show description for 8d09afd
maasencioh
authored
8d09afd
View commit details
Copy full SHA for 8d09afd
Browse repository at this point
2.0.1
maasencioh
committed
e931232
View commit details
Copy full SHA for e931232
Browse repository at this point
Commits on Jul 7, 2017
fix: options object is optional
Show description for d735a00
targos
authored
d735a00
View commit details
Copy full SHA for d735a00
Browse repository at this point
Commits on Jul 5, 2017
Update History.md
targos
authored
3c6de21
View commit details
Copy full SHA for 3c6de21
Browse repository at this point
2.0.0
targos
committed
3dd7bde
View commit details
Copy full SHA for 3dd7bde
Browse repository at this point
Commits on Jul 1, 2017
Add link to hackernoon
lpatiny
authored
795c3d1
View commit details
Copy full SHA for 795c3d1
Browse repository at this point
Commits on Jun 30, 2017
feat: allow to predict a single point
targos
committed
f13c9f8
View commit details
Copy full SHA for f13c9f8
Browse repository at this point
Commits on Jun 23, 2017
refactor: remove train method (#3)
Show description for 2212170
targos
authored and
maasencioh
committed
2212170
View commit details
Copy full SHA for 2212170
Browse repository at this point
add support for toJSON and load methods
targos
committed
201fa6c
View commit details
Copy full SHA for 201fa6c
Browse repository at this point
refactor: use ES6 modules and change support to Node 8 and 6 (#2)
Show description for 4df79a8
targos
authored
4df79a8
View commit details
Copy full SHA for 4df79a8
Browse repository at this point
Commits on Jul 28, 2015
Refactor for the new distance library.
Jefferson
committed
82c83af
View commit details
Copy full SHA for 82c83af
Browse repository at this point
Dependencies updated.
Jefferson
committed
baae910
View commit details
Copy full SHA for baae910
Browse repository at this point
Commits on Jul 24, 2015
Travis file added.
Jefferson
committed
955bc13
View commit details
Copy full SHA for 955bc13
Browse repository at this point
Commits on Jul 22, 2015
README updated.
Jefferson
committed
acc73ac
View commit details
Copy full SHA for acc73ac
Browse repository at this point
Previous
Next
You can’t perform that action at this time.