Skip to content

Commit

Permalink
Retrain model after updating dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Mar 24, 2024
1 parent 540f5d4 commit f624f9f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion sqli_model/2/fingerprint.pb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
������������������������إ� �޻��ܮF(��ؒꔲi2
�����ڃ����������������إ� ��⥩����(�쀜���ɉ2
Binary file modified sqli_model/2/saved_model.pb
Binary file not shown.
Binary file modified sqli_model/2/variables/variables.data-00000-of-00001
Binary file not shown.
Binary file modified sqli_model/2/variables/variables.index
Binary file not shown.
24 changes: 12 additions & 12 deletions training/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,28 +43,28 @@ Dataset: dataset/sqli_dataset2.csv
Model: sqli_model/2

```bash
789/789 [==============================] - 377s 474ms/step - loss: 0.0603 - accuracy: 0.9801
789/789 [==============================] - 356s 447ms/step - loss: 0.0622 - accuracy: 0.9791
Epoch 2/11
789/789 [==============================] - 367s 465ms/step - loss: 0.0139 - accuracy: 0.9969
789/789 [==============================] - 344s 436ms/step - loss: 0.0137 - accuracy: 0.9966
Epoch 3/11
789/789 [==============================] - 383s 485ms/step - loss: 0.0104 - accuracy: 0.9983
789/789 [==============================] - 339s 430ms/step - loss: 0.0099 - accuracy: 0.9981
Epoch 4/11
789/789 [==============================] - 360s 456ms/step - loss: 0.0083 - accuracy: 0.9986
789/789 [==============================] - 350s 444ms/step - loss: 0.0081 - accuracy: 0.9987
Epoch 5/11
789/789 [==============================] - 347s 440ms/step - loss: 0.0075 - accuracy: 0.9988
789/789 [==============================] - 365s 462ms/step - loss: 0.0075 - accuracy: 0.9988
Epoch 6/11
789/789 [==============================] - 341s 432ms/step - loss: 0.0077 - accuracy: 0.9988
789/789 [==============================] - 339s 430ms/step - loss: 0.0078 - accuracy: 0.9988
Epoch 7/11
789/789 [==============================] - 356s 451ms/step - loss: 0.0071 - accuracy: 0.9988
789/789 [==============================] - 334s 423ms/step - loss: 0.0073 - accuracy: 0.9988
Epoch 8/11
789/789 [==============================] - 344s 437ms/step - loss: 0.0072 - accuracy: 0.9989
789/789 [==============================] - 344s 435ms/step - loss: 0.0071 - accuracy: 0.9989
Epoch 9/11
789/789 [==============================] - 346s 438ms/step - loss: 0.0070 - accuracy: 0.9989
789/789 [==============================] - 334s 424ms/step - loss: 0.0070 - accuracy: 0.9989
Epoch 10/11
789/789 [==============================] - 355s 450ms/step - loss: 0.0072 - accuracy: 0.9988
789/789 [==============================] - 335s 425ms/step - loss: 0.0080 - accuracy: 0.9986
Epoch 11/11
789/789 [==============================] - 358s 454ms/step - loss: 0.0071 - accuracy: 0.9989
198/198 [==============================] - 7s 34ms/step
789/789 [==============================] - 329s 418ms/step - loss: 0.0073 - accuracy: 0.9988
198/198 [==============================] - 7s 32ms/step
Accuracy: 63.96%
Recall: 0.00%
Precision: 100.00%
Expand Down
3 changes: 2 additions & 1 deletion training/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ pandas==2.0.1
pytest==7.2.2
pytest-cov==4.1.0
scikit_learn==1.2.2
tensorflow==2.12.0
tensorflow==2.16.1
tensorflow-serving-api=2.16.1

0 comments on commit f624f9f

Please sign in to comment.