Skip to content

Commit 0cfa693

Browse files
committed
v1.9.1
1 parent 24dbf03 commit 0cfa693

File tree

5 files changed

+74
-3
lines changed

5 files changed

+74
-3
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
# 2021-07-20 [ 1.9.0 ]:
2+
--------------------------
3+
* bugfixes
4+
- Fixed scenarios where n_chunks == 0 in _get_array_ranges and fixed empty input array edge case
5+
* features
6+
- Added `normalize` to `core.mass`
7+
- Added motif discovery (`stumpy.motifs` and `stumpy.match`)
8+
- Added snippets for identifying regimes (`stumpy.snippets`)
9+
- Added pan matrix profile (`stumpy.stimp`, `stumpy.stimped`, `stumpy.gpu_stimp`)
10+
- Added `excl_zone` parameter to config.py (`config.STUMPY_EXCL_ZONE_DENOM`)
11+
* tasks
12+
- Aggregate or Refactor Dask Unit Tests
13+
- Added script for testing latest Numba release candidate
14+
- Converted bash scripts to [[ ... ]] construct
15+
- Updated Python class declaration
16+
- Updated to RTD to PyData Sphinx Theme
17+
- Updated conda installation environment
18+
- Refactored test files and added check to ensure that naive implementations always come ahead of tests
19+
* documentation
20+
- Corrected binder badges to point to "main"
21+
- Updated tutorial to discover motif/discord indices
22+
- Added missing docstrings and fixed minor typos
23+
- Added missing logo file and favicon to _static directory
24+
- Updated source installation instructions
25+
- Added instructions for Apple M1 chip
26+
- Updated Contributor guide
27+
- Added include/discords tutorial example to subspace
28+
- Added bonus content on interpreting the columns of a matrix profile
29+
- Added syntax highlighting to tutorials
30+
- Replaced matplotlib params with style file
31+
- Added Annotation Vectors Tutorial
32+
- Added Binder links to top of tutorials
33+
- Added introduction to Snippets Tutorial
34+
35+
136
# 2021-02-04 [ 1.8.0 ]:
237
--------------------------
338
* bugfixes

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ STUMPY is a powerful and scalable library that efficiently computes something ca
5757
* streaming (on-line) data
5858
* fast approximate matrix profiles
5959
* time series chains (temporally ordered set of subsequence patterns)
60+
* snippets for summarizing long time series
61+
* pan matrix profiles for selecting the best subsequence window size(s)
6062
* `and more ... <https://www.cs.ucr.edu/~eamonn/100_Time_Series_Data_Mining_Questions__with_Answers.pdf>`__
6163

6264
Whether you are an academic, data scientist, software developer, or time series enthusiast, STUMPY is straightforward to install and our goal is to allow you to get to your time series insights faster. See `documentation <https://stumpy.readthedocs.io/en/latest/>`__ for more information.

docs/Tutorial_The_Matrix_Profile.ipynb

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,22 @@
328328
"distance_profile[zone_start : zone_end] = np.inf\n",
329329
"```\n",
330330
"\n",
331+
"Finally, it is very uncommon for users to need to change the default exclusion zone. However, in exceptionally rare cases, the exclusion zone can be changed globally in STUMPY through the `config.STUMPY_EXCL_ZONE_DENOM` parameter where all exclusion zones are computed as `i ± int(np.ceil(m / config.STUMPY_EXCL_ZONE_DENOM))`:\n",
332+
"\n",
333+
"```\n",
334+
"import stumpy\n",
335+
"from stumpy import config\n",
336+
"\n",
337+
"config.STUMPY_EXCL_ZONE_DENOM = 4 # The exclusion zone is i ± int(np.ceil(m / 4)) and is the same as the default setting\n",
338+
"mp = stumpy.stump(T, m)\n",
339+
"\n",
340+
"config.STUMPY_EXCL_ZONE_DENOM = 1 # The exclusion zone is i ± m\n",
341+
"mp = stumpy.stump(T, m)\n",
342+
"\n",
343+
"config.STUMPY_EXCL_ZONE_DENOM = np.inf # The exclusion zone is i ± 0 and is the same as applying no exclusion zone\n",
344+
"mp = stumpy.stump(T, m)\n",
345+
"```\n",
346+
"\n",
331347
"## Resources\n",
332348
"\n",
333349
"\n",
@@ -339,7 +355,7 @@
339355
],
340356
"metadata": {
341357
"kernelspec": {
342-
"display_name": "Python 3",
358+
"display_name": "Python 3 (ipykernel)",
343359
"language": "python",
344360
"name": "python3"
345361
},
@@ -353,7 +369,7 @@
353369
"name": "python",
354370
"nbconvert_exporter": "python",
355371
"pygments_lexer": "ipython3",
356-
"version": "3.7.9"
372+
"version": "3.9.6"
357373
}
358374
},
359375
"nbformat": 4,

docs/api.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ STUMPY API
2929
stumpy.motifs
3030
stumpy.match
3131
stumpy.snippets
32+
stumpy.stimp
33+
stumpy.stimped
34+
stumpy.gpu_stimp
3235

3336
stump
3437
=====
@@ -138,3 +141,18 @@ snippets
138141
========
139142

140143
.. autofunction:: stumpy.snippets
144+
145+
stimp
146+
=====
147+
148+
.. autofunction:: stumpy.stimp
149+
150+
stimped
151+
=======
152+
153+
.. autofunction:: stumpy.stimped
154+
155+
gpu_stimp
156+
=========
157+
158+
.. autofunction:: stumpy.gpu_stimp

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_extras_require():
2828

2929
configuration = {
3030
"name": "stumpy",
31-
"version": "1.8.0",
31+
"version": "1.9.1",
3232
"python_requires=": ">=3.6",
3333
"author": "Sean M. Law",
3434
"author_email": "seanmylaw@gmail.com",

0 commit comments

Comments
 (0)