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.9.tar.gz
(296.1 kB
view details)
File details
Details for the file sgp-0.2.9.tar.gz
.
File metadata
- Download URL: sgp-0.2.9.tar.gz
- Upload date:
- Size: 296.1 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.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33836439e366441d0508c916a237dfbc9108ab57c9a9454689eea4fd5b44a757 |
|
MD5 | 23b111387ff9979901490c07de1740d5 |
|
BLAKE2b-256 | afd80ff3e694f787e8599c9cf8420e53bfe41a10046f797bc17bc4ef56c8e79b |