Skip to main content

Build Status

trendfitter

Trendfitter is a latent variable modelling package made for multivariate statistical process control. Some of the methods implemented in this library are already available in other packages, but not with all the tools here available for investigation, exploration and prediction applied to industrial production processes. Additionally, the methods here follow an object-oriented approach similar to scikit-learn so that one can explore combining tools existing in that package without having the need to adapt the code.

This first version contains:

  • Principal Component Analysis (PCA)
  • Multi-Block Principal Component Analysis (MB-PCA)
  • Partial Least Squares or Projection to Latent Structures (PLS)
  • Multiblock PLS (MB-PLS)
  • Sequential MBPLS (SMB-PLS)
  • Dynamic PLS (DiPLS)

The models have methods implemented for the calculation of scores, loadings, weights, Hotelling's T², Squared Prediction Errors(SPEs), and contributions for both T²s and SPEs. Moreover, dealing with missing data in the matrix is available in multiple approaches, namely: Trimmed Score Regression (TSR), Conditional Mean Replacement (CMR), Trimmed Score Method (TMR), and Projection to Model Plane (PMP). All of these previously unavailable on the open-source python environment.

Trendfitter is installable via pip:

pip install trendfitter

Any information regarding usage of the methods and functions can be found using the help() function. Such as:

help(PCA())

Metadata

Release files for trendfitter 0.0.6

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

Built distribution (wheel)

Table of built distributions (wheels) for trendfitter 0.0.6
File Interpreter ABI Platform
trendfitter-0.0.6-py3-none-any.whl Python 3 none any Details

Release files / trendfitter-0.0.6-py3-none-any.whl

Download URL trendfitter-0.0.6-py3-none-any.whl
Size 60.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a70147aa3ecb9c70be25d40d4b2ba504e933e3e8df51a2013d233f51570fa6fe
BLAKE2b-256 checksum
How to use checksums
1a9e89bba8dcd56bae1f34a0bb94c2111161e1c761755010569b750f46442af1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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