Configuring RNN model...
WARNING:tensorflow:From /home/luo/TensorflowProject/LSTM_2019042202/LSTM_Model0504.py:83: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See @{tf.nn.softmax_cross_entropy_with_logits_v2}.
Loading test data...
INFO:tensorflow:Restoring parameters from checkpoints/textrnn050401/best_validation1
Testing...
Test Loss: 1.6, Test Acc: 90.97%
Precision, Recall and F1-Score...
precision recall f1-score support
1 0.89 0.07 0.13 29
2 0.91 0.03 0.07 29
3 0.81 0.03 0.06 30
4 0.74 0.12 0.35 30
5 0.66 0.08 0.00 30
micro avg 0.23 0.23 0.23 148
macro avg 0.51 0.23 0.12 148
weighted avg 0.50 0.23 0.12 148