Skip to content

Commit

Permalink
Update usage example of sst (README.md)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsurubee committed Oct 8, 2017
1 parent 1553211 commit 866c6a0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,3 +1,3 @@
/.idea/*
*/__pycache__/*
__pycache__/
*egg-info/*
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -18,6 +18,18 @@ $ python
>>> import banpei
```

## Usage
#### Example
*Singular spectrum transformation(sst)*
```python
import banpei
model = banpei.SST(data, w=50)
results = model.detect()
```
The graph below shows the change-point scoring calculated by sst for the periodic data. (The data used is placed in '/tests/test_data/periodic_wave.csv')

![sst example](./docs/images/sst_example.png)

## The implemented algorithm
#### Outlier detection
* Hotelling's theory
Expand Down
Binary file added docs/images/sst_example.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 866c6a0

Please sign in to comment.