Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ok amends the plot_data.json file with k-means clustering. The status quo master branch calculates a clustering to select hotspot images for human consuption on the web UI. With this both the membership for the centroids as
centroids/members
, as well as the labels are retained as the fifth list element for each of the images underpositions
in the output file.So from
To
You get the idea, I hope.
Here's a colouring, with k=20, produced outside of the web UI.
The solution needs validation. From let's say engineering and software design point and it would be nice to confidently say this PR doesn't break anything, e.g. the JSON file parsing by the visualization data load or something. From design or research tooling point of view it is worth asking whether making available a discrete cluster membership is a good idea for working forward from the plot_data.json, because it is a certain violence done on the more topological, more continuous space which we are working with here.
Closes #74.