A simple package for Partial Least-Sqaures Regression
Project description
plsre Documentation
Installation
pip install plsre
Usage
from plsre import PlsRegression as PR
# Perform Partial Least_Squared Regression training
X = np.array([[0., 0., 1.], [1.,0.,0.], [2.,2.,2.], [2.,5.,4.]])
Y = np.array([[0.1, -0.2], [0.9, 1.1], [6.2, 5.9], [11.9, 12.3]])
P, Q, W, T,B = PR.plsr_train(X,Y)
# Perform Prediction using different optimization
print(PR.plsr_predict(X,Y,P,Q,W,B))
print(PR.plsr_predict_numba(X,Y,P,Q,W,B))
print(PR.plsr_predict_numpy(X,Y,P,Q,W,B))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plsRe-0.0.2.tar.gz
(2.4 kB
view details)
Built Distributions
plsre-0.0.2-py3.6.egg
(4.7 kB
view details)
plsRe-0.0.2-py3-none-any.whl
(3.6 kB
view details)
File details
Details for the file plsRe-0.0.2.tar.gz
.
File metadata
- Download URL: plsRe-0.0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fa8f616ec0e1e61db1cf1ff26d7a530363bdd772d02d880533c32f7f83f1398 |
|
MD5 | 2765b19497712d6260f18ede3494d058 |
|
BLAKE2b-256 | 3538387ab398fb254b87acc87db837a7ff52528389089d71218a079875f15748 |
File details
Details for the file plsre-0.0.2-py3.6.egg
.
File metadata
- Download URL: plsre-0.0.2-py3.6.egg
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92bf0a88ee9438b9eef71e38ffb6ffd859566684495032df87d361b52c73fd9c |
|
MD5 | 52fe50cdf349c191bb57e8c778931ab1 |
|
BLAKE2b-256 | bba1d548f5688bdc63905b94af01f5523f265324cf69501ad36e86456b34d8f1 |
File details
Details for the file plsRe-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: plsRe-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed5ddef84daad93544f8b856d0d22550b53081112f7084285520bf736a42feb8 |
|
MD5 | 021f63ae322792bdb8f806bca165ab68 |
|
BLAKE2b-256 | 431ffddbfe149fbda23755508410aaef72fa91f133bb65d22b589af896060b9b |