AI and Machine Learning for On-Device Development


Book Description

Chapter 2. Introduction to Computer Vision -- Using Neurons for Vision -- Your First Classifier: Recognizing Clothing Items -- The Data: Fashion MNIST -- A Model Architecture to Parse Fashion MNIST -- Coding the Fashion MNIST Model -- Transfer Learning for Computer Vision -- Summary -- Chapter 3. Introduction to ML Kit -- Building a Face Detection App on Android -- Step 1: Create the App with Android Studio -- Step 2: Add and Configure ML Kit -- Step 3: Define the User Interface -- Step 4: Add the Images as Assets -- Step 5: Load the UI with a Default Picture.




AI and Machine Learning for Coders


Book Description

If you're looking to make a career move from programmer to AI specialist, this is the ideal place to start. Based on Laurence Moroney's extremely successful AI courses, this introductory book provides a hands-on, code-first approach to help you build confidence while you learn key topics. You'll understand how to implement the most common scenarios in machine learning, such as computer vision, natural language processing (NLP), and sequence modeling for web, mobile, cloud, and embedded runtimes. Most books on machine learning begin with a daunting amount of advanced math. This guide is built on practical lessons that let you work directly with the code. You'll learn: How to build models with TensorFlow using skills that employers desire The basics of machine learning by working with code samples How to implement computer vision, including feature detection in images How to use NLP to tokenize and sequence words and sentences Methods for embedding models in Android and iOS How to serve models over the web and in the cloud with TensorFlow Serving




AI and Machine Learning for On-Device Development


Book Description

AI is nothing without somewhere to run it. Now that mobile devices have become the primary computing device for most people, it's essential that mobile developers add AI to their toolbox. This insightful book is your guide to creating models and running them on popular mobile platforms such as iOS and Android. Laurence Moroney, lead AI advocate at Google, offers an introduction to machine learning techniques and tools, then walks you through writing Android and iOS apps powered by common ML models like computer vision and text recognition, using tools such as ML Kit, TensorFlow Lite, and Core ML. If you're a mobile developer, this book will help you take advantage of the ML revolution today. Explore the options for implementing ML and AI on mobile devices--and when to use each Create ML models for iOS and Android Write ML Kit and TensorFlow Lite apps for iOS and Android and Core ML/Create ML apps for iOS Understand how to choose the best techniques and tools for your use case: on-device inference versus cloud-based inference, high-level APIs versus low-level APIs, and more Learn privacy and ethics best practices for ML on devices




Artificial Intelligence in Healthcare


Book Description

Artificial Intelligence (AI) in Healthcare is more than a comprehensive introduction to artificial intelligence as a tool in the generation and analysis of healthcare data. The book is split into two sections where the first section describes the current healthcare challenges and the rise of AI in this arena. The ten following chapters are written by specialists in each area, covering the whole healthcare ecosystem. First, the AI applications in drug design and drug development are presented followed by its applications in the field of cancer diagnostics, treatment and medical imaging. Subsequently, the application of AI in medical devices and surgery are covered as well as remote patient monitoring. Finally, the book dives into the topics of security, privacy, information sharing, health insurances and legal aspects of AI in healthcare. - Highlights different data techniques in healthcare data analysis, including machine learning and data mining - Illustrates different applications and challenges across the design, implementation and management of intelligent systems and healthcare data networks - Includes applications and case studies across all areas of AI in healthcare data




Practical Deep Learning for Cloud, Mobile, and Edge


Book Description

Whether you’re a software engineer aspiring to enter the world of deep learning, a veteran data scientist, or a hobbyist with a simple dream of making the next viral AI app, you might have wondered where to begin. This step-by-step guide teaches you how to build practical deep learning applications for the cloud, mobile, browsers, and edge devices using a hands-on approach. Relying on years of industry experience transforming deep learning research into award-winning applications, Anirudh Koul, Siddha Ganju, and Meher Kasam guide you through the process of converting an idea into something that people in the real world can use. Train, tune, and deploy computer vision models with Keras, TensorFlow, Core ML, and TensorFlow Lite Develop AI for a range of devices including Raspberry Pi, Jetson Nano, and Google Coral Explore fun projects, from Silicon Valley’s Not Hotdog app to 40+ industry case studies Simulate an autonomous car in a video game environment and build a miniature version with reinforcement learning Use transfer learning to train models in minutes Discover 50+ practical tips for maximizing model accuracy and speed, debugging, and scaling to millions of users




Machine Learning by Tutorials (Second Edition)


Book Description

Learn Machine Learning!Machine learning is one of those topics that can be daunting at first blush. It's not clear where to start, what path someone should take and what APIs to learn in order to get started teaching machines how to learn.This is where Machine Learning by Tutorials comes in! In this book, we'll hold your hand through a number of tutorials, to get you started in the world of machine learning. We'll cover a wide range of popular topics in the field of machine learning, while developing apps that work on iOS devices.Who This Book Is ForThis books is for the intermediate iOS developer who already knows the basics of iOS and Swift development, but wants to understand how machine learning works.Topics covered in Machine Learning by TutorialsCoreML: Learn how to add a machine learning model to your iOS apps, and how to use iOS APIs to access it.Create ML: Learn how to create your own model using Apple's Create ML Tool.Turi Create and Keras: Learn how to tune parameters to improve your machine learning model using more advanced tools.Image Classification: Learn how to apply machine learning models to predict objects in an image.Convolutional Networks: Learn advanced machine learning techniques for predicting objects in an image with Convolutional Neural Networks (CNNs).Sequence Classification: Learn how you can use recurrent neural networks (RNNs) to classify motion from an iPhone's motion sensor.Text-to-text Transform: Learn how to use machine learning to convert bodies of text between two languages.By the end of this book, you'll have a firm understanding of what machine learning is, what it can and cannot do, and how you can use machine learning in your next app!




Advances in Financial Machine Learning


Book Description

Learn to understand and implement the latest machine learning innovations to improve your investment performance Machine learning (ML) is changing virtually every aspect of our lives. Today, ML algorithms accomplish tasks that – until recently – only expert humans could perform. And finance is ripe for disruptive innovations that will transform how the following generations understand money and invest. In the book, readers will learn how to: Structure big data in a way that is amenable to ML algorithms Conduct research with ML algorithms on big data Use supercomputing methods and back test their discoveries while avoiding false positives Advances in Financial Machine Learning addresses real life problems faced by practitioners every day, and explains scientifically sound solutions using math, supported by code and examples. Readers become active users who can test the proposed solutions in their individual setting. Written by a recognized expert and portfolio manager, this book will equip investment professionals with the groundbreaking tools needed to succeed in modern finance.




TinyML


Book Description

Deep learning networks are getting smaller. Much smaller. The Google Assistant team can detect words with a model just 14 kilobytes in size—small enough to run on a microcontroller. With this practical book you’ll enter the field of TinyML, where deep learning and embedded systems combine to make astounding things possible with tiny devices. Pete Warden and Daniel Situnayake explain how you can train models small enough to fit into any environment. Ideal for software and hardware developers who want to build embedded systems using machine learning, this guide walks you through creating a series of TinyML projects, step-by-step. No machine learning or microcontroller experience is necessary. Build a speech recognizer, a camera that detects people, and a magic wand that responds to gestures Work with Arduino and ultra-low-power microcontrollers Learn the essentials of ML and how to train your own models Train models to understand audio, image, and accelerometer data Explore TensorFlow Lite for Microcontrollers, Google’s toolkit for TinyML Debug applications and provide safeguards for privacy and security Optimize latency, energy usage, and model and binary size




Deploying Machine Learning


Book Description

Increasingly, business leaders and managers recognize that machine learning offers their companies immense opportunities for competitive advantage. But most discussions of machine learning are intensely technical or academic, and don't offer practical information leaders can use to identify, evaluate, plan, or manage projects. Deploying Machine Learning fills that gap, helping them clarify exactly how machine learning can help them, and collaborate with technologists to actually apply it successfully. You'll learn: What machine learning is, how it compares to "big data" and "artificial intelligence," and why it's suddenly so important What machine learning can do for you: solutions for computer vision, natural language processing, prediction, and more How to use machine learning to solve real business problems -- from reducing costs through improving decision-making and introducing new products Separating hype from reality: identifying pitfalls, limitations, and misconceptions upfront Knowing enough about the technology to work effectively with your technical team Getting the data right: sourcing, collection, governance, security, and culture Solving harder problems: exploring deep learning and other advanced techniques Understanding today's machine learning software and hardware ecosystem Evaluating potential projects, and addressing workforce concerns Staffing your project, acquiring the right tools, and building a workable project plan Interpreting results -- and building an organization that can increasingly learn from data Using machine learning responsibly and ethically Preparing for tomorrow's advances The authors conclude with five chapter-length case studies: image, text, and video analysis, chatbots, and prediction applications. For each, they don't just present results: they also illuminate the process the company undertook, and the pitfalls it overcame along the way.




Deep Learning for Coders with fastai and PyTorch


Book Description

Deep learning is often viewed as the exclusive domain of math PhDs and big tech companies. But as this hands-on guide demonstrates, programmers comfortable with Python can achieve impressive results in deep learning with little math background, small amounts of data, and minimal code. How? With fastai, the first library to provide a consistent interface to the most frequently used deep learning applications. Authors Jeremy Howard and Sylvain Gugger, the creators of fastai, show you how to train a model on a wide range of tasks using fastai and PyTorch. You’ll also dive progressively further into deep learning theory to gain a complete understanding of the algorithms behind the scenes. Train models in computer vision, natural language processing, tabular data, and collaborative filtering Learn the latest deep learning techniques that matter most in practice Improve accuracy, speed, and reliability by understanding how deep learning models work Discover how to turn your models into web applications Implement deep learning algorithms from scratch Consider the ethical implications of your work Gain insight from the foreword by PyTorch cofounder, Soumith Chintala