O'Reilly logo

A Practical Introduction to Human-in-the-Loop Cyber-Physical Systems by Fernando Boavida, Jorge Sá Silva, David Nunes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Part IIHuman-in-the-Loop: Hands-On

In this part of the book, we will perform a step-by-step tutorial on how to create a simple, collaborative HiTL Android application, named HappyWalk. Our application will be a BCI system that will roughly estimate the user's current mood to improve their physical and mental well-being. This sample application requires some knowledge of Android programming and the Java programming language, as well as some notions about databases and RESTful web services.

Our main goal with this part of the book is to guide the reader through the creation of a simple HiTLCPS. It is not our intention to provide in-depth knowledge about Java or Android programming or the necessary machine learning algorithms to create complex HiTL systems. Instead, we aim at giving the reader some hands-on experience that might be helpful in consolidating some of the theories ideas presented in the previous chapters.

This part of the book is composed of Chapters 5 through 9. In Chapter 5 we will describe the objectives and concepts of our sample app, its base architecture, and techniques to be used. Chapter 6 explains how to install the necessary software, libraries, dependencies, and development environments. Chapter 7 focuses on the Data Acquisition process of the application and describes how to acquire and pre-process data from the smartphone's sensors. Chapter 8 is dedicated to the process of State Inference and explains how to implement a machine learning technique and acquire ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required