Fish predictor with KNN
Project description
fishknn
Usage - bash
예측 및 데이터 저장
$ t_cmd
시각화
$ scat_plot
Result
Usage - python
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
Data Plot
from fishknn.what_fish_name import watch_data
watch_data()
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.4.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file fishknn-0.1.4.tar.gz
.
File metadata
- Download URL: fishknn-0.1.4.tar.gz
- Upload date:
- Size: 2.8 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 | 1e1c0ecff1f82940954152d5f445358d4605c42942e00176af1cd417a4e23004 |
|
MD5 | 1458b0b2c62707cd5ed9814392b05d6a |
|
BLAKE2b-256 | 1b8aa5a463cae3387ed2912d6d27d0851496a58106c900ee3482b7b4a80b2083 |
File details
Details for the file fishknn-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: fishknn-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.3 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 | 18c683b320807660afd8eb7111f2fc323b549475ca1cc0aabdee5802352eed3e |
|
MD5 | f30b54d4568dc04839ac4475809a9f89 |
|
BLAKE2b-256 | 06893d4f5bb0f8f53b588679932a9189cbb7377ff938f6bde97e1004ebcbaf68 |