Lines Matching refs:patterns

223     "## The patterns\n",
229 …when you use the signal property, the speech patterns will return the content of the file but nois…
314 "The following code is generating the patterns used for the training of the ML model,.\n",
315 …"It is reading patterns for all the words we want to keep (from `to_keep` list) and it is aggregat…
317 …ting some random noise patterns.For the unknown class, the number of patterns will always be `file…
319patterns in a different order and for the unknown class, which is containing more than `files_per_…
321 …"Finally the patterns are also randomized so that the split between training and test patterns wil…
331 "# Add patterns we want to detect\n",
339 "# Add remaining patterns\n",
352 "patterns=[Pattern(x) for x in filenames]\n",
355 " patterns.append(Pattern(np.abs(np.random.rand(1)*0.05)[0]))\n",
357 "random.shuffle(patterns)"
365 "Below code is extracting the training and test patterns.\n",
384 "print(len(patterns))\n",
385 "patterns=np.array(patterns)\n",
387 "nb_patterns = len(patterns)\n",
391 "train_patterns = patterns[:nb_train]\n",
392 "test_patterns = patterns[-nb_tests:]"
426 "data = patterns[nbpat].signal\n",
677 …"The confusion matrix is generated from the test patterns to check the behavior of the classifier:"
1055 "And finally we can check the CMSIS-DSP behavior of the test patterns:"
1318 "Now we can check the Q31 implementation on the test patterns:"
1899 "Now we'd like to test the Q15 classifier and the static schedule on a real patterns.\n",