No project description provided
Project description
Rust_Pyfunc
一些用python计算起来很慢的指标,这里用rust来实现,提升计算速度。
- 安装
pip install rust_pyfunc
- 使用
import rust_pyfunc as rp
- 目前支持的指标:
- DTW动态时间规整
import rust_pyfunc as rp
a=[1,2,3,4]
b=[3,9,8,6,5]
res=rp.dtw_distance(a,b)
- transfer_entropy转移熵
import rust_pyfunc as rp
a=[1,2,3,4]
b=[3,9,8,6]
res=rp.transfer_entropy(a,b)
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
rust_pyfunc-0.2.0.tar.gz
(6.4 kB
view details)
File details
Details for the file rust_pyfunc-0.2.0.tar.gz
.
File metadata
- Download URL: rust_pyfunc-0.2.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00840bd6e9245ce4a27a9b8622d3ff0fc7c8e86c0c762f238bda1de6536a453d |
|
MD5 | c694802c31ca23eab3db69440881e1ff |
|
BLAKE2b-256 | 2ce13f06085ad9ed5e0234d731f25c62927085603c8b594b22be84d85d27c0a8 |