Skip to main content

No project description provided

Project description

Rust_Pyfunc


一些用python计算起来很慢的指标,这里用rust来实现,提升计算速度。

  • 安装
pip install rust_pyfunc
  • 使用
import rust_pyfunc as rp
  • 目前支持的指标:
  1. DTW动态时间规整
import rust_pyfunc as rp

a=[1,2,3,4]
b=[3,9,8,6,5]
res=rp.dtw_distance(a,b)
  1. 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.4.0.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file rust_pyfunc-0.4.0.tar.gz.

File metadata

  • Download URL: rust_pyfunc-0.4.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rust_pyfunc-0.4.0.tar.gz
Algorithm Hash digest
SHA256 995c6319a3f72c23683bfbfbcafde957497f944adbb324ae2996da2d33dd9c61
MD5 173bb4c1c96a22d3a3d4480683bdbb62
BLAKE2b-256 171c66b3dc158cb0d53009044a40a79232a9d003e6966aec1aef237cc9142847

See more details on using hashes here.

Provenance

The following attestation bundles were made for rust_pyfunc-0.4.0.tar.gz:

Publisher: CI.yml on chen-001/rust_pyfunc

Attestations:

Supported by

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