Scikit wrapper for quantreg
Project description
Scikit wrapper for quantreg
Scikit wrapper for quantreg
Installation / Usage
To install use pip:
$ pip install skquantreg
Or clone the repo:
$ git clone https://github.com/Marco-Santoni/skquantreg.git
$ python setup.py install
Usage:
from skquantreg import QuantileRegressor
import numpy as np
X = np.random.rand(10,2)
y = np.random.rand(10)
X_test = np.random.rand(5,2)
model = QuantileRegressor(q=0.5)
model.fit(X, y)
model.predict(X_test)
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
skquantreg-0.0.4.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for skquantreg-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cdd03650af4e31a359b3a448a022b461a1f3545faf0167a3e21d89ffb4db7ee |
|
MD5 | fe091d22d6d7edfd22f0507b37f501cb |
|
BLAKE2b-256 | 448413a2d33193f38dd77c50be2fcad27934097dae20c36e6dcc16f708c69c1a |