- Deep Learning By Example
- Ahmed Menshawy
- 58字
- 2021-06-24 18:52:38
Model training and testing
Now we are ready to start the model training phase by calling the main function create_model_with_kfold_cross_validation() for building and training the CNN model using 10-fold cross-validation; then we can call the testing function to measure the model's ability to generalize to the test set:
if __name__ == '__main__':
info_string, models = create_model_with_kfold_cross_validation()
test_generality_crossValidation_over_test_set(info_string, models)
推薦閱讀
- Windows程序設(shè)計(jì)與架構(gòu)
- Hands-On Linux for Architects
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)實(shí)訓(xùn)
- Photoshop CS3圖層、通道、蒙版深度剖析寶典
- 傳感器與新聞
- ASP.NET 2.0 Web開發(fā)入門指南
- 大數(shù)據(jù)案例精析
- 基于Proteus的單片機(jī)應(yīng)用技術(shù)
- Mastering OpenStack(Second Edition)
- 企業(yè)級Web開發(fā)實(shí)戰(zhàn)
- Advanced Deep Learning with Keras
- CPLD/FPGA技術(shù)應(yīng)用
- 軟件需求最佳實(shí)踐
- Hadoop大數(shù)據(jù)開發(fā)基礎(chǔ)
- 數(shù)字系統(tǒng)設(shè)計(jì)與Verilog HDL