MCPcopy Create free account
hub / github.com/FastLED/FastLED / f1Score

Method f1Score

tests/fl/audio/detector/downbeat.hpp:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 float f1Score() const {
61 float p = precision();
62 float r = recall();
63 return (p + r) > 0.0f ? 2.0f * (p * r) / (p + r) : 0.0f;
64 }
65};
66
67// Helper: Create audio::Context with synthetic audio designed to trigger beat

Callers 1

downbeat.hppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected