- 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])
推薦閱讀
- 數據庫原理及應用教程(第4版)(微課版)
- Test-Driven Development with Mockito
- Enterprise Integration with WSO2 ESB
- 數據庫原理與應用(Oracle版)
- “互聯網+”時代立體化計算機組
- 白話大數據與機器學習
- 圖數據實戰:用圖思維和圖技術解決復雜問題
- Flutter Projects
- 一本書講透Elasticsearch:原理、進階與工程實踐
- 數據庫技術及應用
- Visual Studio 2013 and .NET 4.5 Expert Cookbook
- MySQL數據庫技術與應用
- 數據庫原理與設計實驗教程(MySQL版)
- 企業級大數據項目實戰:用戶搜索行為分析系統從0到1
- 大數據隱私保護技術與治理機制研究