SPORF icon indicating copy to clipboard operation
SPORF copied to clipboard

[WIP] Add two feature sampling methods for graphs

Open j1c opened this issue 5 years ago • 2 comments

These are two methods for graph valued data.

  1. Graph-Edge-MORF randomly takes one row of the adjacency matrices, then randomly samples some number of elements of that row based on patch_height_min and patch_height_max. The sum of the selected elements is the new feature for that graph.

  2. Graph-Node-MORF randomly samples n \in [patch_height_min, patch_height_max] integers between [1, image_height]. You take the rows and cols based on the sampled integers, and sum the values in that small square. This is the new feature for that graph.

j1c avatar Oct 03 '19 14:10 j1c

Deploy preview for rerf ready!

Built with commit b5839d10097adeca031ac529a14b6395049005a9

https://deploy-preview-337--rerf.netlify.com

netlify[bot] avatar Oct 03 '19 14:10 netlify[bot]

Not quite sure how to deal with different sized tabs cause tabs in C++ files vary in size. Can be 8 spaces or 4 or 2....

j1c avatar Oct 03 '19 15:10 j1c