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 seems to me that we should include variance_combinations in the output of jenks.jenks() instead of discarding the data. This would allow one to compute the goodness of variance fit, for example.
How about adding a parameter varInResults to the list of arguments? If true, the function would return the dict with the breaks and variance. Otherwise, it would return the breaks as it currently does. This parameter would default to False for backwards compatibility.
It seems to me that we should include variance_combinations in the output of jenks.jenks() instead of discarding the data. This would allow one to compute the goodness of variance fit, for example.
I suggest:
(...)
lower_class_limits, variance_combinations = jenks_matrices(data, n_classes)
(...)
return {'breaks':kclass, 'variance_combinations':variance_combinations}
The text was updated successfully, but these errors were encountered: