Default template for PDM package
Project description
fishknn
Usage
from fishknn.what_fish_name import fish_pred
fish_pred(<length>, <weight>, <fish_class>)
# fish_class = 0 : Bream, 1 : Smelt
result
데이터가 아예 없을때
# result
학습용 데이터가 없으므로 데이터를 저장합니다. 정답 : Bream
충분한 데이터가 없을 때
fish_pred(15, 150, 0)
# result
학습용 데이터가 부족하므로 데이터를 추가합니다. 현재 데이터의 수 : 5
데이터가 충분하다면?
fish_pred(6.7, 9.3, 1)
# result
오답입니다. 정답은 Smelt입니다.
예측값 : Bream
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fishknn-0.1.0.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file fishknn-0.1.0.tar.gz
.
File metadata
- Download URL: fishknn-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.18.1 CPython/3.11.9 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 076a579e23e3065f17cefd508fb25ccc5e23c2d86291d2c2b71ab9600f009403 |
|
MD5 | acc2846c8f27f4256a65c51a94e79a4d |
|
BLAKE2b-256 | d8e5a5162ea0d6520d0277f31370c0cd0fe5a788f8441483dbf14d32edf92922 |
File details
Details for the file fishknn-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: fishknn-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.18.1 CPython/3.11.9 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b59b2f8c66b814ffc9f07fa5755d77bc2983afe68f05d39a67cbe90c4a7877ad |
|
MD5 | 4b46c2f0e4d1c6f5ec5c883775533f75 |
|
BLAKE2b-256 | 7c400df52964f3d7d94d399dbb876c9b8a6e48f707d92d6d2e9f35e9cd1dd5e6 |