Skip to main content

knn [K-Nearest Neighbor Classifier]

Weekly Programming no. #1: KNN

  • Using sklearn.neighbors.KNeighborsClassifier

프로그램 동작 방식

  • 학습된 모델이 없는 상태에서 출발
  • 길이 length, 무게 weight 데이터를 입력 > 프로그램이 예측 값을 출력
  • 예측값 출력 후 프롬프트를 통해 사용자가 예측값의 정답 유무를 다시 입력
  • 위 과정을 반복하며 모델을 최적화

Usage

Release files for say-week1-knn 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for say-week1-knn 0.1.0
File Size Uploaded
say_week1_knn-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for say-week1-knn 0.1.0
File Interpreter ABI Platform
say_week1_knn-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / say_week1_knn-0.1.0.tar.gz

Download URL say_week1_knn-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eac9bea7da6dbe47d5959b558055ab4835f7d38fd76a0d4359b9b11be1acd7fd
BLAKE2b-256 checksum
How to use checksums
b59a4084cc734ca9efb61a776a397c01f61c6134112a7cb8a81b976b2bad5b25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2

Release files / say_week1_knn-0.1.0-py3-none-any.whl

Download URL say_week1_knn-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
634385107b20ab8dc57a989f8f6ed3dc673054a41214e0e085f1372145fbff41
BLAKE2b-256 checksum
How to use checksums
4d2c17b8b22e6e59d63ce010bf4f877842620478587d424ec3ea7af6bea74f0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page