You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calculating MSE using this package, I encountered the following issue. According to the original algorithm by Costa et al., 2005, the tolerance ($r$) is defined as a percentage (sometimes denoted as $\rho$) of the standard deviation (SD) of the original time series. In the referenced paper, a value of 15% is used, though this can be adjusted.
However, I didn't find the approach to change the $\rho$ in this package. Additionally, the comments within the corresponding functions are unclear and may lead to confusion.
Function entropy_multiscale accepts arguments tolerance to set $r$ for MSE:
tolerance : float
Tolerance (often denoted as r), distance to consider two data points as similar. If "sd" (default), will be set to :math:0.2 * SD_{signal}. See :func:complexity_tolerance to estimate the optimal value for this parameter.
As mentioned in the comments above, tolerance can accepts a float in addition to the default string "sd".
As shown in code above, tolerance is provided by info dict and is calculated using the function complexity_tolerance. And the parameter tolerance is passed to the argument method.
Within the function complexity_tolerance:
method : str
Can be "maxApEn" (default), "sd", "recurrence", "neighbours", "nolds", "chon2009", or "neurokit".
, however, the argument method can only accept strand Notfloat. As a result, it is not possible to adjust the tolerance by simply modifying $\rho$, such as setting $\rho$ = 0.15 as done by Costa et al.
I'm not sure if I've missed something important, so I would appreciate any help in solving my question. Otherwise, an additional method like "Costa" should be added. 😊
The text was updated successfully, but these errors were encountered:
When calculating MSE using this package, I encountered the following issue. According to the original algorithm by Costa et al., 2005, the tolerance ($r$ ) is defined as a percentage (sometimes denoted as $\rho$ ) of the standard deviation (SD) of the original time series. In the referenced paper, a value of 15% is used, though this can be adjusted.
However, I didn't find the approach to change the$\rho$ in this package. Additionally, the comments within the corresponding functions are unclear and may lead to confusion.
Function$r$ for MSE:
entropy_multiscale
accepts argumentstolerance
to setAs mentioned in the comments above,
tolerance
can accepts afloat
in addition to the default string"sd"
.As shown in code above, tolerance is provided by
info
dict and is calculated using the functioncomplexity_tolerance
. And the parametertolerance
is passed to the argumentmethod
.Within the function
complexity_tolerance
:, however, the argument$\rho$ , such as setting $\rho$ = 0.15 as done by Costa et al.
method
can only acceptstr
and Notfloat
. As a result, it is not possible to adjust the tolerance by simply modifyingI'm not sure if I've missed something important, so I would appreciate any help in solving my question. Otherwise, an additional method like
"Costa"
should be added. 😊The text was updated successfully, but these errors were encountered: