This sets up a predefined buffer for the feature matrix. This is then refilled as needed, and if there are fewer than the max number of entries, we remove them from the similarity calculation. This needs testing, but preliminarily was building and training as expected.
This sets up a predefined buffer for the feature matrix. This is then refilled as needed, and if there are fewer than the max number of entries, we remove them from the similarity calculation. This needs testing, but preliminarily was building and training as expected.

mbojrab/playbox