bcpseg-1.0.0
توضیحات
Python package for Bayesian Change Point Segmentation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | bcpseg-1.0.0 |
| نام | bcpseg |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kyle S. Smith |
| ایمیل نویسنده | kyle.smith@stjude.org |
| آدرس صفحه اصلی | https://github.com/kylessmtih/bcpseg |
| آدرس اینترنتی | https://pypi.org/project/bcpseg/ |
| مجوز | GPL2 |
# Bayesian Change Point Segmentation
[](https://travis-ci.org/kylessmith/bcpseg) [](https://badge.fury.io/py/bcpseg)
[](https://www.buymeacoffee.com/kylessmith)
Bayesian Change Point Segmentation (BCPS).
## Install
If you dont already have numpy and scipy installed, it is best to download
`Anaconda`, a python distribution that has them included.
```
https://continuum.io/downloads
```
Dependencies can be installed by:
```
pip install -r requirements.txt
```
PyPI install, presuming you have all its requirements installed:
```
pip install bcpseg
```
## Usage
```python
from bcpseg import bcpseg
import numpy as np
# Create data
np.random.seed(10)
x = np.random.random(300000)
x[10000:20000] = x[10000:20000] + 0.1
x[25000:27000] = x[25000:27000] - 1
# Calculate segments
segments = bcpseg(x)
for segment in segments:
print(segment)
```
نحوه نصب
نصب پکیج whl bcpseg-1.0.0:
pip install bcpseg-1.0.0.whl
نصب پکیج tar.gz bcpseg-1.0.0:
pip install bcpseg-1.0.0.tar.gz