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
It should not be possible to use a bivariate measure such as MIShannon with a three-or-more-input method like independence(indep_test, x, y, z). In these cases, only multi-variable measures should be accepted.
One possible solution is to encode the minimum number of input variables needed for each measure as a type argument, and error if not enough datasets are provided. EDIT: alternatively, and preferably, implement a minimum_input_args function for each of the measures that gets called before actually computing a measure.
The text was updated successfully, but these errors were encountered:
It should not be possible to use a bivariate measure such as
MIShannon
with a three-or-more-input method likeindependence(indep_test, x, y, z)
. In these cases, only multi-variable measures should be accepted.One possible solution is to encode the minimum number of input variables needed for each measure as a type argument, and error if not enough datasets are provided. EDIT: alternatively, and preferably, implement a
minimum_input_args
function for each of the measures that gets called before actually computing a measure.The text was updated successfully, but these errors were encountered: