Details

Machine Learning for iOS Developers


Machine Learning for iOS Developers


1. Aufl.

von: Abhishek Mishra

32,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 12.02.2020
ISBN/EAN: 9781119602910
Sprache: englisch
Anzahl Seiten: 352

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>Harness the power of Apple iOS machine learning (ML) capabilities and learn the concepts and techniques necessary to be a successful Apple iOS machine learning practitioner!</b></p> <p>Machine earning (ML) is the science of getting computers to act without being explicitly programmed. A branch of Artificial Intelligence (AI), machine learning techniques offer ways to identify trends, forecast behavior, and make recommendations. The Apple iOS Software Development Kit (SDK) allows developers to integrate ML services, such as speech recognition and language translation, into mobile devices, most of which can be used in multi-cloud settings. Focusing on Apple’s ML services, <i>Machine Learning for iOS Developers </i>is an up-to-date introduction to the field, instructing readers to implement machine learning in iOS applications.</p> <p>Assuming no prior experience with machine learning, this reader-friendly guide offers expert instruction and practical examples of ML integration in iOS. Organized into two sections, the book’s clearly-written chapters first cover fundamental ML concepts, the different types of ML systems, their practical uses, and the potential challenges of ML solutions. The second section teaches readers to use models—both pre-trained and user-built—with Apple’s CoreML framework. Source code examples are provided for readers to download and use in their own projects. This book helps readers:</p> <ul> <li>Understand the theoretical concepts and practical applications of machine learning used in predictive data analytics</li> <li>Build, deploy, and maintain ML systems for tasks such as model validation, optimization, scalability, and real-time streaming</li> <li>Develop skills in data acquisition and modeling, classification, and regression.</li> <li>Compare traditional vs. ML approaches, and machine learning on handsets vs. machine learning as a service (MLaaS)</li> <li>Implement decision tree based models, an instance-based machine learning system, and integrate Scikit-learn & Keras models with CoreML</li> </ul> <p><i>Machine Learning for iOS Developers</i> is a must-have resource software engineers and mobile solutions architects wishing to learn ML concepts and implement machine learning on iOS Apps.</p>
<p>Introduction xix</p> <p><b>Part 1 Fundamentals of Machine Learning 1</b></p> <p><b>Chapter 1 Introduction to Machine Learning 3</b></p> <p>What is Machine Learning? 4</p> <p>Tools Commonly Used by Data Scientists 4</p> <p>Common Terminology 5</p> <p>Real-World Applications of Machine Learning 7</p> <p>Types of Machine Learning Systems 8</p> <p>Supervised Learning 9</p> <p>Unsupervised Learning 10</p> <p>Semisupervised Learning 11</p> <p>Reinforcement Learning 11</p> <p>Batch Learning 12</p> <p>Incremental Learning 12</p> <p>Instance-Based Learning 13</p> <p>Model-Based Learning 13</p> <p>Common Machine Learning Algorithms 13</p> <p>Linear Regression 14</p> <p>Support Vector Machines 15</p> <p>Logistic Regression 19</p> <p>Decision Trees 21</p> <p>Artificial Neural Networks 23</p> <p>Sources of Machine Learning Datasets 24</p> <p>Scikit-learn Datasets 24</p> <p>AWS Public Datasets 27</p> <p>Kaggle.com Datasets 27</p> <p>UCI Machine Learning Repository 27</p> <p>Summary 28</p> <p><b>Chapter 2 The Machine-Learning Approach 29</b></p> <p>The Traditional Rule-Based Approach 29</p> <p>A Machine-Learning System 33</p> <p>Picking Input Features 34</p> <p>Preparing the Training and Test Set 39</p> <p>Picking a Machine-Learning Algorithm 40</p> <p>Evaluating Model Performance 41</p> <p>The Machine-Learning Process 44</p> <p>Data Collection and Preprocessing 44</p> <p>Preparation of Training, Test, and Validation Datasets 44</p> <p>Model Building 45</p> <p>Model Evaluation 45</p> <p>Model Tuning 45</p> <p>Model Deployment 46</p> <p>Summary 46</p> <p><b>Chapter 3 Data Exploration and Preprocessing 47</b></p> <p>Data Preprocessing Techniques 47</p> <p>Obtaining an Overview of the Data 47</p> <p>Handling Missing Values 57</p> <p>Creating New Features 60</p> <p>Transforming Numeric Features 62</p> <p>One-Hot Encoding Categorical Features 64</p> <p>Selecting Training Features 65</p> <p>Correlation 65</p> <p>Principal Component Analysis 68</p> <p>Recursive Feature Elimination 70</p> <p>Summary 71</p> <p><b>Chapter 4 Implementing Machine Learning on Mobile Apps 73</b></p> <p>Device-Based vs Server-Based Approaches 73</p> <p>Apple’s Machine Learning Frameworks and Tools 75</p> <p>Task-Level Frameworks 75</p> <p>Model-Level Frameworks 76</p> <p>Format Converters 76</p> <p>Transfer Learning Tools 77</p> <p>Third-Party Machine-Learning Frameworks and Tools 78</p> <p>Summary 79</p> <p><b>Part 2 Machine Learning with CoreML, CreateML, and TuriCreate 81</b></p> <p><b>Chapter 5 Object Detection Using Pre- trained Models 83</b></p> <p>What is Object Detection? 83</p> <p>A Brief Introduction to Artificial Neural Networks 86</p> <p>Downloading the ResNet50 Model 92</p> <p>Creating the iOS Project 92</p> <p>Creating the User Interface 95</p> <p>Updating Privacy Settings 100</p> <p>Using the Resnet50 Model in the iOS Project 100</p> <p>Summary 109</p> <p><b>Chapter 6 Creating an Image Classifier with the Create ML App 111</b></p> <p>Introduction to the Create ML App 112</p> <p>Creating the Image Classification Model with the Create ML App 113</p> <p>Creating the iOS Project 117</p> <p>Creating the User Interface 118</p> <p>Updating Privacy Settings 122</p> <p>Using the Core ML Model in the iOS Project 123</p> <p>Summary 132</p> <p><b>Chapter 7 Creating a Tabular Classifier with Create ML 135</b></p> <p>Preparing the Dataset for the Create ML App 135</p> <p>Creating the Tabular Classification Model with the Create ML App 143</p> <p>Creating the iOS Project 147</p> <p>Creating the User Interface 148</p> <p>Using the Classification Model in the iOS Project 156</p> <p>Testing the App 172</p> <p>Summary 173</p> <p><b>Chapter 8 Creating a Decision Tree Classifier r 175</b></p> <p>Decision Tree Recap 175</p> <p>Examining the Dataset 176</p> <p>Creating Training and Test Datasets 180</p> <p>Creating the Decision Tree Classification Model with Scikit-learn 181</p> <p>Using Core ML Tools to Convert the Scikit-learn Model to the Core ML Format 186</p> <p>Creating the iOS Project 187</p> <p>Creating the User Interface 188</p> <p>Using the Scikit-learn Decision Tree Classifier Model in the iOS Project 193</p> <p>Testing the App 201</p> <p>Summary 202</p> <p><b>Chapter 9 Creating a Logistic Regression Model Using Scikit-learn and Core ML 203</b></p> <p>Examining the Dataset 203</p> <p>Creating a Training and Test Dataset 208</p> <p>Creating the Logistic Regression Model with Scikit-learn 210</p> <p>Using Core ML Tools to Convert the Scikit-learn Model to the Core ML Format 216</p> <p>Creating the iOS Project 218</p> <p>Creating the User Interface 219</p> <p>Using the Scikit-learn Model in the iOS Project 225</p> <p>Testing the App 232</p> <p>Summary 233</p> <p><b>Chapter 10 Building a Deep Convolutional Neural Network with Keras 235</b></p> <p>Introduction to the Inception Family of Deep Convolutional Neural Networks 236</p> <p>GoogLeNet (aka Inception-v1) 236</p> <p>Inception-v2 and Inception-v3 238</p> <p>Inception-v4 and Inception-ResNet 239</p> <p>A Brief Introduction to Keras 244</p> <p>Implementing Inception-v4 with the Keras Functional API 246</p> <p>Training the Inception-v4 Model 259</p> <p>Exporting the Keras Inception-v4 Model to the Core ML Format 269</p> <p>Creating the iOS Project 270</p> <p>Creating the User Interface 271</p> <p>Updating Privacy Settings 276</p> <p>Using the Inception-v4 Model in the iOS Project 277</p> <p>Summary 286</p> <p><b>Appendix A Anaconda and Jupyter Notebook Setup 287</b></p> <p>Installing the Anaconda Distribution 287</p> <p>Creating a Conda Python Environment 288</p> <p>Installing Python Packages 291</p> <p>Installing Jupyter Notebook 293</p> <p>Summary 296</p> <p><b>Appendix B Introduction to NumPy and Pandas 297</b></p> <p>NumPy 297</p> <p>Creating NumPy Arrays 297</p> <p>Modifying Arrays 301</p> <p>Indexing and Slicing 304</p> <p>Pandas 305</p> <p>Creating Series and Dataframes 305</p> <p>Getting Dataframe Information 307</p> <p>Selecting Data 311</p> <p>Summary 313</p> <p>Index 315</p>
<p><b>Abhishek Mishra</b> has more than 19 years of experience across a broad range of mobile and enterprise technologies. He consults as a security and fraud solution architect with Lloyds Banking group PLC in London. He is the author of Machine Learning on the AWS Cloud, <i>Amazon Web Services for Mobile Developers</i>, iOS Code Testing, and Swift iOS: 24-Hour Trainer.
<p><b>Learn how to harness machine learning in your iOS apps!</b> <p>Machine Learning (ML) is a discipline within Artificial Intelligence (AI) that enables computers to learn patterns from data and use these patterns to categorize and predict information reliably and quickly without being explicitly programmed. The Apple iOS Software Development Kit (SDK) includes the Core ML framework that allows developers to integrate ML services into both mobile and desktop applications. Assuming no prior experience in the field, <i>Machine Learning for iOS Developers</i> covers building machine learning models with Apple's new Create ML app, as well as building models using popular Python libraries such as NumPy, Pandas, Scikit-learn and Keras. The book then teaches you how to integrate these models in iOS applications using Apple's Core ML framework and the Core ML tools library. Step-by-step guidance, hands-on activities, real-world scenarios, and downloadable source code examples make <i>Machine Learning for iOS Developers</i> a must-have resource for anyone wishing to learn the concepts and techniques needed to be a successful Apple iOS Machine Learning practitioner. <p>This practical, clearly-written guide shows how to: <ul> <li><b>Understand ML data collection, preprocessing, and feature engineering.</b></li> <li><b>Learn fundamental machine learning algorithms.</b></li> <li><b>Create machine learning models with the new CreateML App.</b></li> <li><b>Create machine learning models with Scikit-learn and CoreML tools.</b></li> <li><b>Integrate Core ML models in iOS Applications.</b></li> <li><b>Use pre-trained machine learning models.</b></li> <li><b>Create a deep learning network from scratch with Keras and use it in an iOS app.</b></li> <li><b>Create decision trees and random forest models.</b></li> </ul>

Diese Produkte könnten Sie auch interessieren:

MDX Solutions
MDX Solutions
von: George Spofford, Sivakumar Harinath, Christopher Webb, Dylan Hai Huang, Francesco Civardi
PDF ebook
53,99 €
Concept Data Analysis
Concept Data Analysis
von: Claudio Carpineto, Giovanni Romano
PDF ebook
107,99 €
Handbook of Virtual Humans
Handbook of Virtual Humans
von: Nadia Magnenat-Thalmann, Daniel Thalmann
PDF ebook
150,99 €