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)
```
============================
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size skquantreg-0.0.5-py2.py3-none-any.whl (3.2 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size skquantreg-0.0.5.tar.gz (2.0 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for skquantreg-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 230f908da8c498c19277613c3722b88bcec04586900bf42e60dbb22fb626784b |
|
MD5 | 9bac24566ed8002c8e7a1c1d038cf1bf |
|
BLAKE2-256 | ee4f7ca69b4679a6fbf0417b9628199847eb255edd66a94b61e4046f37536262 |