Skip to main content

河蟹甘露运输存活时间预测工具

Project description

🦀 crab-predict

河蟹甘露运输存活时间预测工具。基于 450 组实验数据训练的 Stacking 集成学习模型。

安装

pip install crab-predict

使用

交互模式

crab-predict

命令行模式

# 基本用法
crab-predict -t 16 -H 90 -w 10 -f 58 -l 4.5

# JSON 输出(方便程序调用)
crab-predict -t 18 -H 80 --json

Python 调用

from crab_predict.core import predict

hours = predict(temp=16, humidity=90, weight=10, gender=1, fatness=58, loss_rate=4.5)
print(f"预计存活: {hours:.1f} 小时")

参数说明

参数 说明 范围
-t 运输温度 (°C) 15-20
-H 环境湿度 (%) 50-100
-w 体重 (g) 1-15
-g 性别 (1=公, 2=母) 1/2
-f 肥满度 (F指数) 40-70
-l 12h体质量消耗率 (%) 0-20

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

crab_predict-1.0.0.tar.gz (5.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crab_predict-1.0.0-py3-none-any.whl (5.9 MB view details)

Uploaded Python 3

File details

Details for the file crab_predict-1.0.0.tar.gz.

File metadata

  • Download URL: crab_predict-1.0.0.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for crab_predict-1.0.0.tar.gz
Algorithm Hash digest
SHA256 37167c8c079156b68b17cf71017e2f67fae91e82e60ba842af634e625351bd1b
MD5 d9e8044003a3d524727d5753619000d9
BLAKE2b-256 7879964fb0c2924f6bd34619ec85bf60897302e4e42862eaa10bc01de61ee865

See more details on using hashes here.

File details

Details for the file crab_predict-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: crab_predict-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for crab_predict-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f55bddd25921556f7658e1912964fd03eb7da1052b7070166ec751f4e45c362c
MD5 6785e1046ee38dab83561902093ec75d
BLAKE2b-256 0e1cd01e8dd9bc9c4459f8d5be97fc54b2f50833be108f01352eb37c242b8837

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page