Varying recording window arduino


I have trained a model on bunch of sentences that were 2 seconds long…
like How’s the weather out there.

The window size was kept 1 second for the training and shift was 0.5 seconds.
So the arduino microphone (non continuous) example records for 1 second and make decision.
What if i want the arduino to listen for 2 seconds (sample size) and make decision. Would i have to train the model with window size = 2?

Hi @rida,

Yes, you would need to set the window size to 2 seconds for it to classify 2-seconds-worth of data.

Thanks alot…
Mean i have to train again!

1 Like

The model is now overfitting when i changed the window size to 2… Any ideas? I have already tried to lower down the learning or reducing the training cycle.