A package used to calculate the strength of the ddtank game.
Project description
ddtcurve
一个用于计算弹弹堂游戏力度的软件包。
A package used to calculate the strength of the ddtank game.
- Contact the author: jugking6688@gmail.com
- 欢迎提供高质量的原始数据
快速开始
1.传统方式计算力度
本方法是在 https://www.52pojie.cn/thread-1132459-1-1.html 基础上的改良。
import ddtcurve as ddtc
result = ddtc.predict(65, 0, 10, 0)
print(result)
result = ddtc.predict(65, 1, 10, 0)
print(result)
result = ddtc.predict(65, 0, 10, 1)
print(result)
Output:
56.984355730170684
54.693446341504185
58.14777549325182
2.深度学习推理力度
方法详见 https://www.52pojie.cn/thread-1889310-1-1.html
import ddtcurve as ddtc
result = ddtc.inference(65, 0, 10, 0)
print(result)
result = ddtc.inference(65, 1, 10, 0)
print(result)
result = ddtc.inference(65, 0, 10, 1)
print(result)
Output:
57.528175
53.786335
59.91937
Remarks:
There are many authors who have contributed to this package. :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ddtcurve-0.2.1.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file ddtcurve-0.2.1.tar.gz
.
File metadata
- Download URL: ddtcurve-0.2.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28524e5140b6cc9350f5e1491019c302c9b3a9234bd5f2ae243e89f565fba7df |
|
MD5 | 362e0e223b2ebc0c56c964f1f3b0d667 |
|
BLAKE2b-256 | bfaccea56cf1e9c12a1f3d4d347af3e77422d4506c770fe9fd952dfb1b1e8226 |
File details
Details for the file ddtcurve-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: ddtcurve-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8b66464347d6dc2e018af776991ab56f277f5fdb47860a8516aafbfa1e956e9 |
|
MD5 | 4f4048ed0143e1d22475eeb57e4234bf |
|
BLAKE2b-256 | dbefb66e6d929ba913cf1c872edb76bb45c2f1ddf61e81ae9a23290c7e184833 |