Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properties parameter in ClusteringByCommittee.java #75

Open
cherylcaprina opened this issue Mar 14, 2017 · 0 comments
Open

Properties parameter in ClusteringByCommittee.java #75

cherylcaprina opened this issue Mar 14, 2017 · 0 comments

Comments

@cherylcaprina
Copy link

cherylcaprina commented Mar 14, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant