- Machine Learning with Swift
- Alexander Sosnovshchenko
- 182字
- 2021-06-24 18:55:02
Summary
In this chapter, we had our first experience of building a machine learning application, starting from the data and all the way over to the working iOS application. We went through several phases in this chapter:
- Exploratory data analysis using Jupyter, pandas, and Matplotlib
- Data preparation—splitting, and handling categorical variables
- Model prototyping using scikit-learn
- Model tuning and evaluation
- Porting prototype for the mobile platform using Core ML
- Model validation on a mobile device
There are several machine learning topics that we've learned about in this chapter: model parameters vs. hyperparameters, overfitting vs. underfitting, evaluation metrics: cross-validation, accuracy, precision, recall, and F1-score. These are the basic things that will be recurring topics throughout this book.
We've become acquainted with two machine learning algorithms, namely decision trees and random forest, a type of model ensemble.
In the next chapter, we're going to continue exploring classification algorithms, and will learn about instance-based learning algorithms. We will also build an iOS app that can learn right on the device, this time not for alien classification, but for some real-world problem, I promise.
- 24小時(shí)學(xué)會(huì)電腦組裝與維護(hù)
- Learning AngularJS Animations
- 從零開始學(xué)51單片機(jī)C語言
- Learning Stencyl 3.x Game Development Beginner's Guide
- 嵌入式系統(tǒng)中的模擬電路設(shè)計(jì)
- SiFive 經(jīng)典RISC-V FE310微控制器原理與實(shí)踐
- Hands-On Artificial Intelligence for Banking
- 深入理解序列化與反序列化
- LPC1100系列處理器原理及應(yīng)用
- 單片微機(jī)原理及應(yīng)用
- Spring Cloud實(shí)戰(zhàn)
- USB應(yīng)用分析精粹:從設(shè)備硬件、固件到主機(jī)端程序設(shè)計(jì)
- 可編程邏輯器件項(xiàng)目開發(fā)設(shè)計(jì)
- 分布式存儲(chǔ)系統(tǒng):核心技術(shù)、系統(tǒng)實(shí)現(xiàn)與Go項(xiàng)目實(shí)戰(zhàn)
- Arduino案例實(shí)戰(zhàn)(卷Ⅳ)