Sparse gaussian process regression
Project description
SGP
Simple gaussian process regression
Installation
pip install sgp
Getting started
from sgp.variational import VariationalGP as VGP
import numpy as np
X_train = np.linspace(0, 5, 1000)
y_train = np.sin(X_train) * X_train
model = VGP().fit(X_train.reshape(-1, 1), y_train)
X_test = np.linspace(0, 10, 100)
y_test, std_test = model.predict(X_test.reshape(-1, 1), return_std=True)
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
sgp-0.2.1.tar.gz
(3.6 kB
view details)
Built Distribution
sgp-0.2.1-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file sgp-0.2.1.tar.gz
.
File metadata
- Download URL: sgp-0.2.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56fbb038e4a3fe97abfa8ca2b0e12b65e385d7d83fce7579388b79b8da472d4e |
|
MD5 | 2155cfbbff2f03ee960b7304738b0bde |
|
BLAKE2b-256 | 237aaa8cff7c11d12e0f1e7b6ce44a1b4d4d579411c1cd16c5e1b25a9f75147c |
File details
Details for the file sgp-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: sgp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3513086d2f3af198d3eebb82e798548a04ee2e6a11231f8fcdcc5422b18278 |
|
MD5 | 7e7dfa0653baea34ed6b79578fbe434c |
|
BLAKE2b-256 | d251aa687ab09e4fb738c89b9ffa8cc38031fa747c1dbe86b2720d28bf4090b4 |