tinker-engine / sailon-protocols

0 stars 0 forks source link

Random detector #8

Closed nrsyed closed 3 years ago

nrsyed commented 3 years ago

@waxlamp

@cfunk1210 (optional), @Pikus16 (optional)

This PR introduces a RandomNoveltyDetector, which replaces the previous MockDetector. It begins introducing practical functionality, like extracting (random) features and writing novelty detection/classification results to file, but is not intended to serve as a completely functional detector for testing (remaining functionality will be added/refined in future PRs). The new detector class is a smqtk-compatible/discoverable algorithm and subclasses Configurable and Pluggable. The OND protocol and sample config have been updated to make use of the new detector class.

(This PR hasn't incorporated suggestions/changes from the other day's discussion, which will be done in future PRs).