-
Notifications
You must be signed in to change notification settings - Fork 106
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
Clustering By Committee.java #74
Comments
Hi Cheryl,
I would like to use the public Assignments cluster(Matrix m, Properties
props).
You can convert it to an ArrayMatrix instance which will wrap the array,
i.e., new ArrayMatrix(array) in your code below.
May I know how should I convert my array into Matrix m? How does the
Matrix m structure looks like?
The rows of m each represent a different item to be clustered. The columns
are the features.
Hope this helps and let us know if you have more questions.
Thanks,
David
…On Thu, Mar 9, 2017 at 1:53 AM, cherylcaprina ***@***.***> wrote:
I have a multidimensional array as shown below:
int array[][]={
{1, 1, 0, 0, 1, 1},
{1, 1, 1, 1, 1, 2},
{0, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 0},
{1, 1, 0, 1, 1, 1},
{1, 2, 0, 0, 1, 1}
};
I would like to use the public Assignments cluster(Matrix m, Properties
props). May I know how should I convert my array into Matrix m? How does
the Matrix m structure looks like?
Regards,
Cheryl.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#74>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA7uLWeXe0rPaAluxjmWzX6jDyOEYNn7ks5rj6HNgaJpZM4MXtiJ>
.
|
Dear David, Thanks a lot. I have obtained the matrix from my array and currently I wish to call the method public Assignments cluster(Matrix m, Properties props). May I know what shall I pass for Properties props parameter? I don't understand what's the use of the properties as mentioned in the code's comment. Do you mind to show me an example? Regards, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a multidimensional array as shown below:
int array[][]={
{1, 1, 0, 0, 1, 1},
{1, 1, 1, 1, 1, 2},
{0, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 0},
{1, 1, 0, 1, 1, 1},
{1, 2, 0, 0, 1, 1}
};
I would like to use the public Assignments cluster(Matrix m, Properties props). May I know how should I convert my array into Matrix m? How does the Matrix m structure looks like?
Regards,
Cheryl.
The text was updated successfully, but these errors were encountered: