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.4.tar.gz
(292.3 kB
view details)
File details
Details for the file sgp-0.2.4.tar.gz
.
File metadata
- Download URL: sgp-0.2.4.tar.gz
- Upload date:
- Size: 292.3 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 | 5a03e3230e7d594382c51da8ceeb6e8d5c49bb6a6fa58fc641e69337e3184a4f |
|
MD5 | 1c11557bcb10a3edf9bc5dfd5d0b1a9b |
|
BLAKE2b-256 | b6a33e001738cea2dbd0e65a7b47f0375f95f4193b332ab0d7eefa43b3ec2427 |