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
Describe the bug
This bug appears when I try to cluster over a 1D matrix like:
col_1
row_1 1.2
row_2. 1.5
With run_clustering option at False. A True value leads to the ValueError: The number of observations cannot be determined on an empty distance matrix. which is expected because clustering doesn't make any sense over one columns in my opinion but I feel like a run_clustering at False should not produce any error. The full trace is:
It seems like the viz_json function doesn't take in account that the Y axis won't be defined in case of a Falserun_clustering parameter. I wonder what is the expected behaviour for a one row matrix as well and at the corner case a one element matrix.
To Reproduce
Steps to reproduce the behavior:
With a one column dataframe df run:
net.load_df(df)
net.cluster(run_clustering=False)
Expected behavior
Should not raise any error.
Desktop (please complete the following information):
macOs monterey 12.4
python 3.7.4, clustergrammer2 0.18.0
The text was updated successfully, but these errors were encountered:
Describe the bug
This bug appears when I try to cluster over a 1D matrix like:
With
run_clustering
option atFalse
. ATrue
value leads to theValueError: The number of observations cannot be determined on an empty distance matrix.
which is expected because clustering doesn't make any sense over one columns in my opinion but I feel like arun_clustering
atFalse
should not produce any error. The full trace is:It seems like the
viz_json
function doesn't take in account that the Y axis won't be defined in case of aFalse
run_clustering
parameter. I wonder what is the expected behaviour for a one row matrix as well and at the corner case a one element matrix.To Reproduce
Steps to reproduce the behavior:
With a one column dataframe df run:
Expected behavior
Should not raise any error.
Desktop (please complete the following information):
macOs monterey 12.4
python 3.7.4, clustergrammer2 0.18.0
The text was updated successfully, but these errors were encountered: