<jupyter_start><jupyter_text>Building The Model Then Training it<jupyter_code>model = get_model()
model.fit(X_train, y_train_hot, batch_size=batch_size, epochs=epochs, verbose=verbose, validation_data=(X_test, y_test_hot))<jupyter_output>Train on 3112 samples, validate on 2076 samples
Epoch 1/50
3112/3112 [==============================] - 2s 532us/step - loss: 1.4140 - acc: 0.4200 - val_loss: 1.0125 - val_acc: 0.4422
Epoch 2/50
3112/3112 [==============================] - 0s 146us/step - loss: 0.9526 - acc: 0.5562 - val_loss: 0.7775 - val_acc: 0.6763
Epoch 3/50
3112/3112 [==============================] - 0s 146us/step - loss: 0.7673 - acc: 0.6722 - val_loss: 0.5033 - val_acc: 0.8213
Epoch 4/50
3112/3112 [==============================] - 0s 146us/step - loss: 0.6052 - acc: 0.7487 - val_loss: 0.4076 - val_acc: 0.8560
Epoch 5/50
3112/3112 [==============================] - 0s 147us/step - loss: 0.5353 - acc: 0.7921 - val_loss: 0.5033 - val_acc: 0.8039
Epoch 6/50
3112/3112 [==============================] - 1s 165us/step - loss: 0.4731 - acc: 0.8220 - val_loss: 0.3199 - val_acc: 0.8892
Epoch 7/50
3112/3112 [==============================] - 0s 150us/step - loss: 0.4048 - acc: 0.8458 - val_loss: 0.4085 - val_acc: 0.8468
[...]<jupyter_text>Prediction<jupyter_code>print(predict('./data/bed/004ae714_nohash_1.wav', model=model))<jupyter_output>bed
{'fraction_non_alphanumeric': 0.2839325018341893, 'fraction_numerical': 0.19075568598679385, 'mean_word_length': 4.456, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '333218', 'license': 'MIT', 'n_tokens_mistral': 716, 'n_tokens_neox': 533, 'n_words': 114, 'path': 'refData/DeadSimpleSpeechRecognition.ipynb', 'repo_name': 'xrick/LcjDysarthriaSpeechCommandRecognier', 'size': '1363'}