- The Deep Learning with Keras Workshop
- Matthew Moocarme Mahla Abdolahnejad Ritesh Bhagwat
- 225字
- 2021-06-18 18:13:39
Summary
In this chapter, we covered how to prepare data and construct machine learning models. We achieved this by utilizing Python and libraries such as pandas and scikit-learn. We also used the algorithms in scikit-learn to build our machine learning models.
Then, we learned how to load data into Python, as well as how to manipulate data so that a machine learning model can be trained on the data. This involved converting all the columns into numerical data types. We also created a basic logistic regression classification model using scikit-learn algorithms. We pided the dataset into training and test datasets and fit the model to the training dataset. We evaluated the performance of the model on the test dataset using the model evaluation metrics, that is, accuracy, precision, recall, and fscore.
Finally, we iterated on this basic model by creating two models with different types of regularization for the model. We utilized cross-validation to determine the optimal parameter to use for the regularization parameter.
In the next chapter, we will use these same concepts to create the model using the Keras library. We will use the same dataset and attempt to predict the same target value for the same classification task. By doing so, we will learn how to use regularization, cross-validation, and model evaluation metrics when fitting our neural network to the data.
- Aftershot Pro:Non-destructive photo editing and management
- 辦公通信設(shè)備維修
- 基于ARM的嵌入式系統(tǒng)和物聯(lián)網(wǎng)開發(fā)
- 硬件產(chǎn)品經(jīng)理手冊(cè):手把手構(gòu)建智能硬件產(chǎn)品
- Unity 5.x Game Development Blueprints
- 電腦軟硬件維修從入門到精通
- VCD、DVD原理與維修
- Visual Media Processing Using Matlab Beginner's Guide
- R Deep Learning Essentials
- Source SDK Game Development Essentials
- 數(shù)字媒體專業(yè)英語(yǔ)(第2版)
- 圖解計(jì)算機(jī)組裝與維護(hù)
- Spring Security 3.x Cookbook
- Intel FPGA權(quán)威設(shè)計(jì)指南:基于Quartus Prime Pro 19集成開發(fā)環(huán)境
- Service Mesh微服務(wù)架構(gòu)設(shè)計(jì)