Machine Learning with Swift
Alexander Sosnovshchenko
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Machine Learning with Swift
Alexander Sosnovshchenko
About This Book
Leverage the power of machine learning and Swift programming to build intelligent iOS applications with easeAbout This Book⢠Implement effective machine learning solutions for your iOS applications⢠Use Swift and Core ML to build and deploy popular machine learning models⢠Develop neural networks for natural language processing and computer visionWho This Book Is ForiOS developers who wish to create smarter iOS applications using the power of machine learning will find this book to be useful. This book will also benefit data science professionals who are interested in performing machine learning on mobile devices. Familiarity with Swift programming is all you need to get started with this book.What You Will Learn⢠Learn rapid model prototyping with Python and Swift⢠Deploy pre-trained models to iOS using Core ML⢠Find hidden patterns in the data using unsupervised learning⢠Get a deeper understanding of the clustering techniques⢠Learn modern compact architectures of neural networks for iOS devices⢠Train neural networks for image processing and natural language processingIn DetailMachine learning as a field promises to bring increased intelligence to the software by helping us learn and analyse information efficiently and discover certain patterns that humans cannot. This book will be your guide as you embark on an exciting journey in machine learning using the popular Swift language. We'll start with machine learning basics in the first part of the book to develop a lasting intuition about fundamental machine learning concepts. We explore various supervised and unsupervised statistical learning techniques and how to implement them in Swift, while the third section walks you through deep learning techniques with the help of typical real-world cases. In the last section, we will dive into some hard core topics such as model compression, GPU acceleration and provide some recommendations to avoid common mistakes during machine learning application development. By the end of the book, you'll be able to develop intelligent applications written in Swift that can learn for themselves.Style and approachA comprehensive guide that teaches how to implement machine learning apps for iOS from scratch
Frequently asked questions
Information
Classification â Decision Tree Learning
- Machine learning software development stack
- Python toolbox for machine learning: IPython, SciPy, scikit-learn
- Dataset generation and exploratory analysis
- Data preprocessing
- Decision tree learning and random forest
- Assessing the model performance using different performance metrics
- Underfitting and overfitting
- Exporting scikit-learn models to Core ML format
- Deploying trained models to iOS
Machine learning toolbox
- Linear algebra: Machine learning developer needs data structures like vectors, matrices, and tensors with compact syntax and hardware-accelerated operations on them. Examples in other languages: NumPy, MATLAB, and R standard libraries, Torch.
- Probability theory: All kinds of random data generation: random numbers and collections of them; probability distributions; permutations; shuffling of collections, weighted sampling, and so on. Examples: NumPy, and R standard library.
- Data input-output: In machine learning, we are usually most interested in the parsing and saving data in the following formats: plain text, tabular files like CSV, databases like SQL, internet formats JSON, XML, HTML, and web scraping. There are also a lot of domain-specific formats.
- Data wrangling: Table-like data structures, data engineering tools: dataset cleaning, querying, splitting, merging, shuffling, and so on. Pandas, dplyr.
- Data analysis/statistic: Descriptive statistic, hypotheses testing and all kinds of statistical stuff. R standard library, and a lot of CRAN packages.
- Visualization: Statistical data visualization (not pie charts): graph visualization, histograms, mosaic plots, heat maps, dendrograms, 3D-surfaces, spatial and multidimensional data visualization, interactive visualization, Matplotlib, Seaborn, Bokeh, ggplot2, ggmap, Graphviz, D3.js.
- Symbolic computations: Automatic differentiation: SymPy, Theano, Autograd.
- Machine learning packages: Machine learning algorithms and solvers. Scikit-learn, Keras, XGBoost, E1071, and caret.
- Interactive prototyping environment: Jupyter, R studio, MATLAB, and iTorch.