Skip to main content

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


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.5.tar.gz (2.0 kB view hashes)

Uploaded source

Built Distribution

skquantreg-0.0.5-py2.py3-none-any.whl (3.2 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page