Skip to main content

🦀 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

Metadata

Release files for crab-predict 1.0.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 crab-predict 1.0.0
File Size Uploaded Provenance Actions
crab_predict-1.0.0.tar.gz 5.9 MB Without provenance Details for crab_predict-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crab-predict 1.0.0
File Interpreter ABI Platform Actions
crab_predict-1.0.0-py3-none-any.whl Python 3 none any Details for crab_predict-1.0.0-py3-none-any.whl

Total release size: 11.9 MB

Release files / crab_predict-1.0.0.tar.gz

Download URL crab_predict-1.0.0.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
37167c8c079156b68b17cf71017e2f67fae91e82e60ba842af634e625351bd1b
BLAKE2b-256 checksum
How to use checksums
7879964fb0c2924f6bd34619ec85bf60897302e4e42862eaa10bc01de61ee865
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / crab_predict-1.0.0-py3-none-any.whl

Download URL crab_predict-1.0.0-py3-none-any.whl
Size 5.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f55bddd25921556f7658e1912964fd03eb7da1052b7070166ec751f4e45c362c
BLAKE2b-256 checksum
How to use checksums
0e1cd01e8dd9bc9c4459f8d5be97fc54b2f50833be108f01352eb37c242b8837
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Security for crab-predict 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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