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

minScore and number of rows #1

Closed
beY6ai7u opened this issue Mar 25, 2024 · 3 comments
Closed

minScore and number of rows #1

beY6ai7u opened this issue Mar 25, 2024 · 3 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@beY6ai7u
Copy link

Hi, I am going to use hdemg data and will be happy to start contributing here

The script does generate the picture [sample_data/sample1_MUs.jpg] when setting minScore = 0.1.
If I keep minScore = 0.9 (default in the script), I end up with only 12 rows.
a

What does this mean, do you know which electrodes they refer to?
Many thanks in advance!

@beY6ai7u
Copy link
Author

oh and unrelated, but the upload of the file [sample1_ica_results.mat] doesn't seem to have worked (? problem with LFS)

@neuromechanist neuromechanist self-assigned this Mar 25, 2024
@neuromechanist neuromechanist added the good first issue Good for newcomers label Mar 25, 2024
@neuromechanist
Copy link
Owner

neuromechanist commented Mar 25, 2024

Thanks for raising both issues; regarding the second part, the LFS is for local use, I updated the README to currectly point to the results: de6ed02. I can upload the MAT file to a Google Drive and share that as well.

I'll check the first issue you raised shortly and get back.

@neuromechanist
Copy link
Owner

This is almost a year-old issue, sorry for the delay.
You are correct, using minScore_toPlot=0.9 with the sample decomposition will result in a 14-source decomposition. The sample data was created using minScore_toPlot=0.7.

Each decomposed motor unit is supposed to create similar spikes (and similar peak values) throughout its activation. The score here is representative of such likelihood but calculating the silhouette score for the spikes, essentially giving them a similarity score. Higher scores indicate that the spike peaks are more similar to each other within a decomposed source. You should try to make a judgment on what score is good for your specific research based on your preliminary results.

I just acquired a personal machine capable of working on this repository and its Python/PyTorch equivalent, so the codebase will be updated more frequently.

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

No branches or pull requests

2 participants