Introduction |
|
xix | |
|
Part 1 Fundamentals of Machine Learning |
|
|
1 | (80) |
|
Chapter 1 Introduction to Machine Learning |
|
|
3 | (26) |
|
What Is Machine Learning? |
|
|
4 | (4) |
|
Tools Commonly Used by Data Scientists |
|
|
4 | (1) |
|
|
5 | (2) |
|
Real-World Applications of Machine Learning |
|
|
7 | (1) |
|
Types of Machine Learning Systems |
|
|
8 | (5) |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
11 | (1) |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
12 | (1) |
|
|
13 | (1) |
|
|
13 | (1) |
|
Common Machine Learning Algorithms |
|
|
13 | (11) |
|
|
14 | (1) |
|
|
15 | (4) |
|
|
19 | (2) |
|
|
21 | (2) |
|
Artificial Neural Networks |
|
|
23 | (1) |
|
Sources of Machine Learning Datasets |
|
|
24 | (4) |
|
|
24 | (3) |
|
|
27 | (1) |
|
|
27 | (1) |
|
UCI Machine Learning Repository |
|
|
27 | (1) |
|
|
28 | (1) |
|
Chapter 2 The Machine-Learning Approach |
|
|
29 | (18) |
|
The Traditional Rule-Based Approach |
|
|
29 | (4) |
|
A Machine-Learning System |
|
|
33 | (11) |
|
|
34 | (5) |
|
Preparing the Training and Test Set |
|
|
39 | (1) |
|
Picking a Machine-Learning Algorithm |
|
|
40 | (1) |
|
Evaluating Model Performance |
|
|
41 | (3) |
|
The Machine-Learning Process |
|
|
44 | (2) |
|
Data Collection and Preprocessing |
|
|
44 | (1) |
|
Preparation of Training, Test, and Validation Datasets |
|
|
44 | (1) |
|
|
45 | (1) |
|
|
45 | (1) |
|
|
45 | (1) |
|
|
46 | (1) |
|
|
46 | (1) |
|
Chapter 3 Data Exploration and Preprocessing |
|
|
47 | (26) |
|
Data Preprocessing Techniques |
|
|
47 | (18) |
|
Obtaining an Overview of the Data |
|
|
47 | (10) |
|
|
57 | (3) |
|
|
60 | (2) |
|
Transforming Numeric Features |
|
|
62 | (2) |
|
One-Hot Encoding Categorical Features |
|
|
64 | (1) |
|
Selecting Training Features |
|
|
65 | (6) |
|
|
65 | (3) |
|
Principal Component Analysis |
|
|
68 | (2) |
|
Recursive Feature Elimination |
|
|
70 | (1) |
|
|
71 | (2) |
|
Chapter 4 Implementing Machine Learning on Mobile Apps |
|
|
73 | (8) |
|
Device-Based vs. Server-Based Approaches |
|
|
73 | (2) |
|
Apple's Machine Learning Frameworks and Tools |
|
|
75 | (3) |
|
|
75 | (1) |
|
|
76 | (1) |
|
|
76 | (1) |
|
|
77 | (1) |
|
Third-Party Machine-Learning Frameworks and Tools |
|
|
78 | (1) |
|
|
79 | (2) |
|
Part 2 Machine Learning with CoreML, CreateML, and TuriCreate |
|
|
81 | (206) |
|
Chapter 5 Object Detection Using Pre-trained Models |
|
|
83 | (28) |
|
What Is Object Detection? |
|
|
83 | (3) |
|
A Brief Introduction to Artificial Neural Networks |
|
|
86 | (6) |
|
Downloading the ResNet50 Model |
|
|
92 | (1) |
|
|
92 | (17) |
|
Creating the User Interface |
|
|
95 | (5) |
|
Updating Privacy Settings |
|
|
100 | (1) |
|
Using the Resnet50 Model in the iOS Project |
|
|
100 | (9) |
|
|
109 | (2) |
|
Chapter 6 Creating an Image Classifier with the Create ML App |
|
|
111 | (24) |
|
Introduction to the Create ML App |
|
|
112 | (1) |
|
Creating the Image Classification Model with the Create ML App |
|
|
113 | (4) |
|
|
117 | (15) |
|
Creating the User Interface |
|
|
118 | (4) |
|
Updating Privacy Settings |
|
|
122 | (1) |
|
Using the Core ML Model in the iOS Project |
|
|
123 | (9) |
|
|
132 | (3) |
|
Chapter 7 Creating a Tabular Classifier with Create ML |
|
|
135 | (40) |
|
Preparing the Dataset for the Create ML App |
|
|
135 | (8) |
|
Creating the Tabular Classification Model with the Create ML App |
|
|
143 | (4) |
|
|
147 | (26) |
|
Creating the User Interface |
|
|
148 | (8) |
|
Using the Classification Model in the iOS Project |
|
|
156 | (16) |
|
|
172 | (1) |
|
|
173 | (2) |
|
Chapter 8 Creating a Decision Tree Classifier |
|
|
175 | (28) |
|
|
175 | (1) |
|
|
176 | (4) |
|
Creating Training and Test Datasets |
|
|
180 | (1) |
|
Creating the Decision Tree Classification Model with Scikit-learn |
|
|
181 | (5) |
|
Using Core ML Tools to Convert the Scikit-learn Model to the Core ML Format |
|
|
186 | (1) |
|
|
187 | (15) |
|
Creating the User Interface |
|
|
188 | (5) |
|
Using the Scikit-learn DecisionTreeClassifier Model in the iOS Project |
|
|
193 | (8) |
|
|
201 | (1) |
|
|
202 | (1) |
|
Chapter 9 Creating a Logistic Regression Model Using Scikit-learn and Core ML |
|
|
203 | (32) |
|
|
203 | (5) |
|
Creating a Training and Test Dataset |
|
|
208 | (2) |
|
Creating the Logistic Regression Model with Scikit-learn |
|
|
210 | (6) |
|
Using Core ML Tools to Convert the Scikit-learn Model to the Core ML Format |
|
|
216 | (2) |
|
|
218 | (15) |
|
Creating the User Interface |
|
|
219 | (6) |
|
Using the Scikit-learn Model in the iOS Project |
|
|
225 | (7) |
|
|
232 | (1) |
|
|
233 | (2) |
|
Chapter 10 Building a Deep Convolutional Neural Network with Keras |
|
|
235 | (52) |
|
Introduction to the Inception Family of Deep Convolutional Neural Networks |
|
|
236 | (8) |
|
GoogLeNet (aka Inception-v1) |
|
|
236 | (2) |
|
Inception-v2 and Inception-v3 |
|
|
238 | (1) |
|
Inception-v4 and Inception-ResNet |
|
|
239 | (5) |
|
A Brief Introduction to Keras |
|
|
244 | (2) |
|
Implementing Inception-v4 with the Keras Functional API |
|
|
246 | (13) |
|
Training the Inception-v4 Model |
|
|
259 | (10) |
|
Exporting the Keras Inception-v4 Model to the Core ML Format |
|
|
269 | (1) |
|
|
270 | (16) |
|
Creating the User Interface |
|
|
271 | (5) |
|
Updating Privacy Settings |
|
|
276 | (1) |
|
Using the Inception-v4 Model in the iOS Project |
|
|
277 | (9) |
|
|
286 | (1) |
|
Appendix A Anaconda and Jupyter Notebook Setup |
|
|
287 | (10) |
|
Installing the Anaconda Distribution |
|
|
287 | (1) |
|
Creating a Conda Python Environment |
|
|
288 | (3) |
|
Installing Python Packages |
|
|
291 | (2) |
|
Installing Jupyter Notebook |
|
|
293 | (3) |
|
|
296 | (1) |
|
Appendix B Introduction to NumPy and Pandas |
|
|
297 | (18) |
|
|
297 | (8) |
|
|
297 | (4) |
|
|
301 | (3) |
|
|
304 | (1) |
|
|
305 | (8) |
|
Creating Series and Dataframes |
|
|
305 | (2) |
|
Getting Dataframe Information |
|
|
307 | (4) |
|
|
311 | (2) |
|
|
313 | (2) |
Index |
|
315 | |