JuliaDynamics/ComplexityMeasures.jl
Reproducibility for `OrdinalPatternEncoding`
开放
#379 创建于 2024年1月13日
discussion-designgood first issue
仓库指标
- 星标
- (79 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Currently, the isless_rand function, which we use as the default value comparator for OrdinalPatternEncoding, will not give reproducible results. This is because we don't provide an rng argument to the rand call.
To solve this, we could either:
- Force the user to provide their custom
ltfunction, taking care of reproducibility themselves (not preferable IMHO) - Include
rngas a field to bothOrdinalPatternEncodingandOrdinalPatterns, which gets passed on toisless_rand.
Or maybe there's a better way?