Skip to main content

FDApy: a Python package to analyze functional data

PyPI - Python Version PyPI Github - Workflow PyPI - License Coverage Code Quality Documentation Status DOI Contributors

Description

Functional data analysis (FDA) is a statistical methodology for analyzing data that can be characterized as functions. These functions could represent measurements taken over time, space, frequency, probability, etc. The goal of FDA is to extract meaningful information from these functions and to model their behavior.

The package aims to provide functionalities for creating and manipulating general functional data objects. It thus supports the analysis of various types of functional data, whether densely or irregularly sampled, multivariate, or multidimensional. Functional data can be represented over a grid of points or using a basis of functions. FDApy implements dimension reduction techniques and smoothing methods, facilitating the extraction of patterns from complex functional datasets. A large simulation toolbox, based on basis decomposition, is provided. It allows to configure parameters for simulating different clusters within the data. Finally, some visualization tools are also available.

Check out the examples for an overview of the package functionalities.

Check out the API reference for an exhaustive list of the available features within the package.

Documentation

The documentation is available here, which included detailled information about API references and several examples presenting the different functionalities.

Installation

Up to now, FDApy is availlable in Python 3.10 on any Linux platforms. The stable version can be installed via PyPI:

pip install FDApy

Installation from source

It is possible to install the latest version of the package by cloning this repository and doing the manual installation.

git clone https://github.com/StevenGolovkine/FDApy.git
pip install ./FDApy

Requirements

FDApy depends on the following packages:

  • lazy_loader - A loader for Python submodules

  • matplotlib - Plotting with Python

  • numpy (< 2.0.0) - The fundamental package for scientific computing with Python

  • pandas (>= 2.0.0)- Powerful Python data analysis toolkit

  • scikit-learn (>= 1.2.0)- Machine learning in Python

  • scipy (>= 1.10.0) - Scientific computation in Python

Citing FDApy

If you use FDApy in a scientific publication, we would appreciate citations to the following software repository:

@misc{golovkine_2024_fdapy,
  author = {Golovkine, Steven},
  doi = {10.5281/zenodo.13625609},
  title = {FDApy: A Python Package to analyze functional data},
  url = {https://github.com/StevenGolovkine/FDApy},
  year = {2024}
}

Contributing

Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given. Contributing guidelines are provided here. The people involved in the development of the package can be found in the contributors page.

License

The package is licensed under the MIT License. A copy of the license can be found along with the code.

Metadata

Release files for FDApy 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FDApy 1.0.3
File Size Uploaded Provenance
fdapy-1.0.3.tar.gz 176.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for FDApy 1.0.3
File Interpreter ABI Platform
fdapy-1.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 269.6 kB

Release files / fdapy-1.0.3.tar.gz

Download URL fdapy-1.0.3.tar.gz
Size 176.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0e22ad956ae95a32b4b9b255bd7c6618f1f7ad6d3c13434d1480c3df1aa765f9
BLAKE2b-256 checksum
How to use checksums
e809e6d7cfa7c98888ab2c7e86944124ffbccaf13e36278cc25db8f09481ba6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / fdapy-1.0.3-py2.py3-none-any.whl

Download URL fdapy-1.0.3-py2.py3-none-any.whl
Size 93.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e85a1a2e9204a868430e223f7ee582668909867678772e05643b3acbb1e5cf42
BLAKE2b-256 checksum
How to use checksums
0ceb0a8f377ac35c2fe615352030ac773d1ebacc9fca43d908ad3186ce93ad71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Security for FDApy 1.0.3

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.

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