- Practical Convolutional Neural Networks
- Mohit Sewak Md. Rezaul Karim Pradeep Pujari
- 106字
- 2021-06-24 18:58:52
Testing
After you're satisfied with the training output and accuracy, you can run the network on the test dataset to measure its performance!
Keep in mind to perform this only after you've completed the training and are satisfied with the results.
A good result will obtain an accuracy higher than 95%. Some simple models have been known to achieve even up to 99.7% accuracy! We can test the model, as shown here:
# Comparing the labels predicted by our model with the actual labels score = model.evaluate(X_test, y_test, batch_size=32, verbose=1,sample_weight=None) # Printing the result print('Test score:', score[0]) print('Test accuracy:', score[1])
推薦閱讀
- LibGDX Game Development Essentials
- 數據可視化:從小白到數據工程師的成長之路
- 數據分析實戰:基于EXCEL和SPSS系列工具的實踐
- Greenplum:從大數據戰略到實現
- Word 2010中文版完全自學手冊
- 圖解機器學習算法
- Hadoop大數據實戰權威指南(第2版)
- 大數據Hadoop 3.X分布式處理實戰
- Oracle 12c云數據庫備份與恢復技術
- 跨領域信息交換方法與技術(第二版)
- Visual FoxPro數據庫技術基礎
- Deep Learning with R for Beginners
- 數據會說話:活用數據表達、說服與決策
- Configuration Management with Chef-Solo
- Kafka權威指南(第2版)