- 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.
- SDL Game Development
- 深入淺出SSD:固態存儲核心技術、原理與實戰(第2版)
- Artificial Intelligence Business:How you can profit from AI
- micro:bit魔法修煉之Mpython初體驗
- Mastering Adobe Photoshop Elements
- Machine Learning Solutions
- 電腦高級維修及故障排除實戰
- Building 3D Models with modo 701
- 面向對象分析與設計(第3版)(修訂版)
- 單片機開發與典型工程項目實例詳解
- Spring Cloud微服務和分布式系統實踐
- Neural Network Programming with Java(Second Edition)
- Hands-On Deep Learning for Images with TensorFlow
- Mastering Quantum Computing with IBM QX
- 微服務實戰(Dubbox +Spring Boot+Docker)