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
Thanks a lot for the previous example shown. I have obtained the matrix from my array and currently I wish to call the method public Assignments cluster(Matrix m, Properties props). i.e.
double[][] array={
{3, 0, 1, 0, 0},
{0, 4, 0, 0, 0},
{0, 7, 5, 9, 0},
{0, 0, 0, 0, 2},
{0, 0, 0, 6, 5}
};
Matrix m=new ArrayMatrix(array);
Properties props=new Properties();
props.setProperty("AVERGAGE_LINK_MERGE_THRESHOLD_PROPERTY", "0.25");
props.setProperty("COMMITTEE_SIMILARITY_THRESHOLD_PROPERTY", "0.35");
props.setProperty("RESIDUE_SIMILARITY_THRESHOLD_PROPERTY", "0.25");
props.setProperty("SOFT_CLUSTERING_SIMILARITY_THRESHOLD_PROPERTY", "0.25");
props.setProperty("HARD_CLUSTERING_PROPERTY", "true");
System.out.println(clust.cluster(m, props));
However, I got CBC only accepts sparse matrix error and I am not sure how to solve it. Can please help? Thank you in advance.
Regards,
Cheryl
The text was updated successfully, but these errors were encountered:
Dear S-Space,
Thanks a lot for the previous example shown. I have obtained the matrix from my array and currently I wish to call the method public Assignments cluster(Matrix m, Properties props). i.e.
double[][] array={
{3, 0, 1, 0, 0},
{0, 4, 0, 0, 0},
{0, 7, 5, 9, 0},
{0, 0, 0, 0, 2},
{0, 0, 0, 6, 5}
};
Matrix m=new ArrayMatrix(array);
Properties props=new Properties();
props.setProperty("AVERGAGE_LINK_MERGE_THRESHOLD_PROPERTY", "0.25");
props.setProperty("COMMITTEE_SIMILARITY_THRESHOLD_PROPERTY", "0.35");
props.setProperty("RESIDUE_SIMILARITY_THRESHOLD_PROPERTY", "0.25");
props.setProperty("SOFT_CLUSTERING_SIMILARITY_THRESHOLD_PROPERTY", "0.25");
props.setProperty("HARD_CLUSTERING_PROPERTY", "true");
System.out.println(clust.cluster(m, props));
However, I got CBC only accepts sparse matrix error and I am not sure how to solve it. Can please help? Thank you in advance.
Regards,
Cheryl
The text was updated successfully, but these errors were encountered: