Skip to main content

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


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.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distributions

plsre-0.0.1-py3.6.egg (4.7 kB view details)

Uploaded Source

plsre-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file plsre-0.0.1.tar.gz.

File metadata

  • Download URL: plsre-0.0.1.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

Hashes for plsre-0.0.1.tar.gz
Algorithm Hash digest
SHA256 28eae8907a43a7fe649f56b2d6d118b231580be443246d8e3ee12d2ffece3886
MD5 70430e773c1dffb676fc47ec4960acbe
BLAKE2b-256 309f2d6138dfbe4d6bd84b4c7945b60bcd32754fbf63768451b0655a239e28ff

See more details on using hashes here.

File details

Details for the file plsre-0.0.1-py3.6.egg.

File metadata

  • Download URL: plsre-0.0.1-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

Hashes for plsre-0.0.1-py3.6.egg
Algorithm Hash digest
SHA256 a9ce48b118ffb1184d264f27619b13307339daf29019be1521b4ecd9082c1a2f
MD5 cb8778ec95dc05cc79309cfad0cfc408
BLAKE2b-256 c94477448ad5b70eda01d186e51ef05ea2ab5de7913c0fc62a5684e97f88d7d2

See more details on using hashes here.

File details

Details for the file plsre-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: plsre-0.0.1-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

Hashes for plsre-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9960bde5ff126a28ccfefc3ba9b632d83fdc8c96dd421bf80fd6ba01645a2c1
MD5 53e8e48536008873c43d40772ca3899c
BLAKE2b-256 a2c909c20431d96a8b4daee60aaea5db793807b48980f1b225680e1a8b3acc40

See more details on using hashes here.

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