-
Notifications
You must be signed in to change notification settings - Fork 29
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
Similar code to create groups #7
Comments
Yes, I do have it! I will also put on the code. Mainly, we apply hierarchical clustering on top of distance matrix calculated from mind-matching part! |
Perfect! :D |
@inezpereira I put the group matching code here. This is the version that I use to rearrange users into order (by distance) and group them. It still needs some tweaks and a lot of documentation tho! |
Very cool, just got a chance to try it out.
|
|
Thanks again for sharing the code and for being so responsive in dealing with issues and questions! |
Yes for both answers! I'll elaborate more clearly quite soon! |
Ok cool! I'll add a third question to the lot: Again, let me illustrate. Without randomness, I would expect Where the subjects are neatly grouped by field of interest. Instead, I get something like: Do you know why this persists even after removing randomness ( |
@inezpereira Maybe the random distance is too small? You might have to try adding random +1,-1 matrix instead depending on your matrix. Since in your case since you have a count of terms overlap. In the example, it's a cosine distance, and adding small +- 0.01 randomness can tweak the result a bit. I haven't tried experimenting with adding multiple randomnesses but will try to follow up on this later! |
Hi! This is more of a question/request.
Do you have code to mind-match participants into groups?
Meaning, your current output csv would be something like:
user_id,match_ids
1,93;217;463;645;783;1101
[...]
93, 1;217;463;645;783;1101 # has the same ids as before
The text was updated successfully, but these errors were encountered: