Comments (2)
@seanlaw Thank you very much.
Now, it is clearer for me. So, in my case, the second option you mentioned (the use of np.nan) is the most suitable.
Best regards
Óscar
from stumpy.
@ogreyesp Thank you for your question and welcome to the STUMPY community.
I'm creating a method wherein some subsequences of the timeseries provided to ostinato should not be taken into account.
If you truly do not care about a subsequence then you have two main options:
- You can remove those subsequences from your original time series.
- You can manually set the values of those subsequences to
np.nan
. In STUMPY, any subsequence that containsnp.nan
/np.inf
will have their corresponding distances set tonp.nan
.
Is that the purpose of Ts_subseq_isconstant parameter?
No, the subseq_isconstant
parameter found throughout STUMPY are a way for the user to annotate each subsequences within a time series as "constant" (i.e., are all of the values within the subsequence the same) or not. Due to numerical imprecision, simply checking if the standard deviation within each subsequence is equal to zero is insufficient in some rare cases and so we've provided this parameter to allow for more user control.
from stumpy.
Related Issues (20)
- Speeding up the computation of sliding dot product with fft HOT 90
- Computing matrix profile while considering a custom transformation for subsequences HOT 10
- Trying to use AB Join to compare two well log curves called Gamma Ray (GR) and pink major trends with similar magnitudes HOT 2
- Some issues in Tutorial_Multidimensional_Motif_Discovery and MDL HOT 6
- Faster Non-normalized Matrix Profiles
- `setuptools` Removed From Python 3.12
- Remove `pkg_resources` Dependency HOT 1
- Numba Python Version Compatibility Update
- Numba Python Version Compatibility Update
- Numba Python Version Compatibility Update
- Incorrect MIN Python Version in README HOT 11
- Bump Supported Python Version to 3.12
- Improving Multi-processor Performance HOT 3
- No module named 'pkg_resources' HOT 2
- Cache-Oblivious Algorithms (COA) HOT 2
- Add Named Attributes to Matrix Profile HOT 3
- Optimizing 6-step FFT algorithm HOT 10
- NumPy Installation Fails
- Add additional checks to `min.py` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stumpy.