Skip to main content

Random Feature Method (RFM) tools in Python

Project description

A Python package for Random Feature Method (RFM)

Quick Install

conda create -n pyRFM python=3.10 -y
conda activate pyRFM
pip install pyrfm

To get the source code and examples, you can clone the repository:

git clone https://github.com/IFaay/pyRFM.git
cd pyRFM

Update

pip install --upgrade --force-reinstall pyrfm
# git pull  # Update local source

and re-download / pull the source code.

Remark

All examples run successfully on a host equipped with 8GB of GPU memory and 32GB of RAM. Example scripts are located in the examples folder.

Reference

[1] J. Chen, X. Chi, W. E, and Z. Yang, “Bridging traditional and machine learning-based algorithms for solving pdes: The random feature method,” J. Mach. Learn., vol. 1, no. 3, pp. 268–298, 2022, doi: 10.4208/jml.220726.

[2] J. Chen, W. E, and Y. Luo, “The random feature method for time-dependent problems,” East Asian Journal on Applied Mathematics, vol. 13, no. 3, pp. 435–463, 2023, doi: 10.4208/eajam.2023-065.050423.

[3] J. Chen, W. E, and Y. Sun, “Optimization of Random Feature Method in the High-Precision Regime,” Com Appl Math Comput, Mar. 2024, doi: 10.1007/s42967-024-00389-8.

You can cite this package as:

[4] J. Chen and Y. Sun, “pyRFM: A High-Performance Python Implementation of the Random Feature Method with Applications,” Journal on Numerical Methods and Computer Applications, vol. 47, no. 2, Jun. 2026, doi: 10.12288/szjs.j2025-1045.

@article{chen_pyrfm_2026,
  title = {{{pyRFM}}: {{A High-Performance Python Implementation}} of the {{Random Feature Method}} with {{Applications}}},
  author = {Chen, Jingrun and Sun, Yifei},
  year = 2026,
  month = jun,
  journal = {Journal on Numerical Methods and Computer Applications},
  volume = {47},
  number = {2},
  doi = {10.12288/szjs.j2025-1045},
}

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

pyrfm-0.4.1.tar.gz (96.9 kB view details)

Uploaded Source

Built Distribution

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

pyrfm-0.4.1-py3-none-any.whl (98.7 kB view details)

Uploaded Python 3

File details

Details for the file pyrfm-0.4.1.tar.gz.

File metadata

  • Download URL: pyrfm-0.4.1.tar.gz
  • Upload date:
  • Size: 96.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrfm-0.4.1.tar.gz
Algorithm Hash digest
SHA256 c1a90aa0cd91bd06b56b6ad1c69669d7dc3488119666d31443c3d749f50cac31
MD5 d1fda07340f0ab08e6b86e271c5e377c
BLAKE2b-256 d77912db272f6529746f1106f3756be9736c4b53c32c815b9ef5061137b78801

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrfm-0.4.1.tar.gz:

Publisher: release.yml on IFaay/pyRFM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrfm-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: pyrfm-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 98.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrfm-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b89fd50d03c55e13c0b16c0f768fccb7a26d8c9656d7c19de8660412732e1dbd
MD5 c6559be256de40d445e0afdaf9a0ae71
BLAKE2b-256 dceb1d87d8f68fbb4261aa38e340099e8696dbcba521ee386d4518d9b716191f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrfm-0.4.1-py3-none-any.whl:

Publisher: release.yml on IFaay/pyRFM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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