I am using nicla Voice for rain detection with a model build by EdgeImpulse
There are two classes Rain and znoise i.e. not rain
I would like to classifier output to show Rain / znoise
but with continual rain I only get a couple of Rain outputs and then nothing.
phbackoff is 5 for both classes.
This topic is similar
but no answer given there.
Questions
1)How do I force continual match outputs?
1)Is there a low level function call to the NDP120 that will return the current clasification result, i.e. classes and their % match in an array/structure
3)What do the posterior parameters
timeout 0
timeout_action “stay”
timeout_action_arg 0
do?
Would changing these make any difference.?
I have already reduced the znoise phth to 30% to better pickup when it is not raining.
Please clarify what is your size of rain detection pattern that you trained with.
Ideally the EdgeImpulse examples as well as the audio examples listed like Nicla Voice, should do continuous inference. Please share some samples of audio files which is not doing continuous match.
2)Is there a low level function call to the NDP120 that will return the current clasification result, i.e. classes and their % match in an array/structure
For Arudino nicla voice, NDP has provided API - NDPClass:poll() which invokes the registered callbacks for the match and you can get the match classification label string results
3)What do the posterior parameters
timeout 0
timeout_action “stay”
timeout_action_arg 0
do?
Would changing these make any difference.?
For the classification problem you are indicating of rain/no-rain, this is not applicable. Please leave it to default
One likely reason you see only a couple of Rain outputs is that the NDP callback is event-driven, not a per-window print. If you need a continuous stream, call NDPClass::poll() and log the latest label/confidence at your own interval, or explicitly read the classifier output each inference window. Also verify the Impulse post-processing settings—phbackoff suppresses repeat triggers for N frames, so with sustained Rain above threshold you won’t get an output every window. The official reply’s request for your trained pattern length is relevant because short training windows can behave differently on long rain.