Name | rePLS JSON |
Version |
0.0.5
JSON |
| download |
home_page | None |
Summary | Residual Partial Least Squares Learning |
upload_time | 2024-12-20 17:32:30 |
maintainer | None |
docs_url | None |
author | thanhvd |
requires_python | None |
license | None |
keywords |
pls
repls
pcr
lr
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# rePLS
## Examples
```python
from rePLS import rePLS, rePCR, reMLR
import numpy as np
n_samples, n_features, n_outcomes, n_confounders = 100, 10,5,2
n_components = 2
rng = np.random.RandomState(0)
Y = rng.randn(n_samples,n_outcomes)
X = rng.randn(n_samples, n_features)
Z = rng.randn(n_samples, n_confounders)
reg = rePLS(Z=Z,n_components=n_components)
reg.fit(X,Y)
Y_pred = reg.predict(X,Z)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "rePLS",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "PLS, rePLS, PCR, LR",
"author": "thanhvd",
"author_email": "duythanhvu.uet@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/df/97/f8f1778b9b0932b54bd0b2a73e1984fe235c00e65a6209ce37453bcc20e4/repls-0.0.5.tar.gz",
"platform": null,
"description": "\n# rePLS\n\n\n## Examples \n\n```python\nfrom rePLS import rePLS, rePCR, reMLR\nimport numpy as np\n\nn_samples, n_features, n_outcomes, n_confounders = 100, 10,5,2\nn_components = 2\nrng = np.random.RandomState(0)\n\nY = rng.randn(n_samples,n_outcomes)\nX = rng.randn(n_samples, n_features)\nZ = rng.randn(n_samples, n_confounders)\n\nreg = rePLS(Z=Z,n_components=n_components)\nreg.fit(X,Y)\nY_pred = reg.predict(X,Z)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Residual Partial Least Squares Learning",
"version": "0.0.5",
"project_urls": null,
"split_keywords": [
"pls",
" repls",
" pcr",
" lr"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8d299f98e0c28592d68247110a25e0caa3cf0947fd838d169017184e707f2e5c",
"md5": "fe7ed23b2c883d716ff44a07ee598d82",
"sha256": "45a213c1d49e9346dee96a109ea61388af60964c3f079184e786ea53668b5127"
},
"downloads": -1,
"filename": "rePLS-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fe7ed23b2c883d716ff44a07ee598d82",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3873,
"upload_time": "2024-12-20T17:32:27",
"upload_time_iso_8601": "2024-12-20T17:32:27.275031Z",
"url": "https://files.pythonhosted.org/packages/8d/29/9f98e0c28592d68247110a25e0caa3cf0947fd838d169017184e707f2e5c/rePLS-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "df97f8f1778b9b0932b54bd0b2a73e1984fe235c00e65a6209ce37453bcc20e4",
"md5": "10f6c219360b33fe430da05dfe6d4803",
"sha256": "e3ef9e13e47437e2a69bc5843b8fa8be710e10ec2618f5b2628bbbcf4a810e51"
},
"downloads": -1,
"filename": "repls-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "10f6c219360b33fe430da05dfe6d4803",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7196,
"upload_time": "2024-12-20T17:32:30",
"upload_time_iso_8601": "2024-12-20T17:32:30.132830Z",
"url": "https://files.pythonhosted.org/packages/df/97/f8f1778b9b0932b54bd0b2a73e1984fe235c00e65a6209ce37453bcc20e4/repls-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-20 17:32:30",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "repls"
}