Beginning Machine Learning in the Browser: Quick-start Guide to Gait Analysis with JavaScript and TensorFlow.js
()
About this ebook
Apply Artificial Intelligence techniques in the browser or on resource constrained computing devices. Machine learning (ML) can be an intimidating subject until you know the essentials and for what applications it works. This book takes advantage of the intricacies of the ML processes by using a simple, flexible and portable programming language such as JavaScript to work with more approachable, fundamental coding ideas.
Using JavaScript programming features along with standard libraries, you'll first learn to design and develop interactive graphics applications. Then move further into neural systems and human pose estimation strategies. For training and deploying your ML models in the browser, TensorFlow.js libraries will be emphasized.
After conquering the fundamentals, you'll dig into the wilderness of ML. Employ the ML and Processing (P5) libraries for Human Gait analysis. Building up Gait recognition with themes, you'll come to understand a variety of ML implementation issues. For example, you’ll learn about the classification of normal and abnormal Gait patterns.
With Beginning Machine Learning in the Browser, you’ll be on your way to becoming an experienced Machine Learning developer.
What You’ll Learn
- Work with ML models, calculations, and information gathering
- Implement TensorFlow.js libraries for ML models
- Perform Human Gait Analysis using ML techniques in the browser
Who This Book Is For
Computer science students and research scholars, and novice programmers/web developers in the domain of Internet Technologies
Nagender Kumar Suryadevara
Nagender Kumar Suryadevara holds a B.Tech, M.E, and Ph.D. (New Zealand). He has over 20 years of teaching and research experience. Currently he is working as an Associate Professor of Computer and Information Sciences, University of Hyderabad, India. His fields of interest include Smart Sensors and sensing technology, instrumentation techniques, wireless sensors and network, Internet of Things, He has supervised over 20 postgraduate students and over 100 Bachelor students. He has examined over 20 postgraduate theses. He has published over 40 papers in different international journals and conference proceedings, written one book and eight book chapters. He was a guest/co-editor for several online Journal/Book publications. He was a member for several international conferences as either General Chairs/co-chairs or Technical Programme Chair. He has delivered 22 presentations including keynote, invited, tutorial and special lectures. He is a senior member of IEEE.
Related to Beginning Machine Learning in the Browser
Related ebooks
Deploy Machine Learning Models to Production: With Flask, Streamlit, Docker, and Kubernetes on Google Cloud Platform Rating: 0 out of 5 stars0 ratingsBuilding Progressive Web Applications with Vue.js: Reliable, Fast, and Engaging Apps with Vue.js Rating: 0 out of 5 stars0 ratingsPractical Machine Learning in JavaScript: TensorFlow.js for Web Developers Rating: 0 out of 5 stars0 ratingsMonetizing Machine Learning: Quickly Turn Python ML Ideas into Web Applications on the Serverless Cloud Rating: 0 out of 5 stars0 ratingsPractical hapi: Build Your Own hapi Apps and Learn from Industry Case Studies Rating: 0 out of 5 stars0 ratingsAdvanced Web Development with React: SSR and PWA with Next.js using React with advanced concepts Rating: 0 out of 5 stars0 ratingsPractical Full Stack Machine Learning: A Guide to Build Reliable, Reusable, and Production-Ready Full Stack ML Solutions Rating: 0 out of 5 stars0 ratingsBuilding React Apps with Server-Side Rendering: Use React, Redux, and Next to Build Full Server-Side Rendering Applications Rating: 0 out of 5 stars0 ratingsData Science Solutions with Python: Fast and Scalable Models Using Keras, PySpark MLlib, H2O, XGBoost, and Scikit-Learn Rating: 0 out of 5 stars0 ratingsPro Machine Learning Algorithms: A Hands-On Approach to Implementing Algorithms in Python and R Rating: 0 out of 5 stars0 ratingsJavaScript Frameworks for Modern Web Development: The Essential Frameworks, Libraries, and Tools to Learn Right Now Rating: 0 out of 5 stars0 ratingsJavaScript for Modern Web Development: Building a Web Application Using HTML, CSS, and JavaScript Rating: 0 out of 5 stars0 ratingsUltimate Nuxt.js for Full-Stack Web Applications Rating: 0 out of 5 stars0 ratingsIntroducing Play Framework: Java Web Application Development Rating: 0 out of 5 stars0 ratingsPractical Machine Learning and Image Processing: For Facial Recognition, Object Detection, and Pattern Recognition Using Python Rating: 0 out of 5 stars0 ratingsInternet of Things (IoT) A Quick Start Guide: A to Z of IoT Essentials Rating: 0 out of 5 stars0 ratingsCognitive Computing Recipes: Artificial Intelligence Solutions Using Microsoft Cognitive Services and TensorFlow Rating: 0 out of 5 stars0 ratingsGetting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch Rating: 0 out of 5 stars0 ratingsHands-on ML Projects with OpenCV: Master computer vision and Machine Learning using OpenCV and Python Rating: 0 out of 5 stars0 ratingsHands-on ML Projects with OpenCV: Master computer vision and Machine Learning using OpenCV and Python (English Edition) Rating: 0 out of 5 stars0 ratingsFrom Knowledge Abstraction to Management: Using Ranganathan’s Faceted Schema to Develop Conceptual Frameworks for Digital Libraries Rating: 0 out of 5 stars0 ratingsPractical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs Rating: 0 out of 5 stars0 ratingsLearn PHP 8: Using MySQL, JavaScript, CSS3, and HTML5 Rating: 0 out of 5 stars0 ratingsBeginning Backbone.js Rating: 3 out of 5 stars3/5Clojure Web Development Essentials Rating: 0 out of 5 stars0 ratingsMachine Learning in Production: Master the art of delivering robust Machine Learning solutions with MLOps (English Edition) Rating: 0 out of 5 stars0 ratingsKnockoutJS Blueprints Rating: 0 out of 5 stars0 ratings
Intelligence (AI) & Semantics For You
Midjourney Mastery - The Ultimate Handbook of Prompts Rating: 5 out of 5 stars5/5AI for Educators: AI for Educators Rating: 5 out of 5 stars5/5101 Midjourney Prompt Secrets Rating: 3 out of 5 stars3/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5Mastering ChatGPT: Unlock the Power of AI for Enhanced Communication and Relationships: English Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5ChatGPT For Fiction Writing: AI for Authors Rating: 5 out of 5 stars5/5Dancing with Qubits: How quantum computing works and how it can change the world Rating: 5 out of 5 stars5/5ChatGPT For Dummies Rating: 0 out of 5 stars0 ratingsArtificial Intelligence: A Guide for Thinking Humans Rating: 4 out of 5 stars4/5A Quickstart Guide To Becoming A ChatGPT Millionaire: The ChatGPT Book For Beginners (Lazy Money Series®) Rating: 4 out of 5 stars4/5Discovery Writing with ChatGPT: AI-Powered Storytelling: Three Story Method, #6 Rating: 0 out of 5 stars0 ratingsThe Secrets of ChatGPT Prompt Engineering for Non-Developers Rating: 5 out of 5 stars5/5What Makes Us Human: An Artificial Intelligence Answers Life's Biggest Questions Rating: 5 out of 5 stars5/5ChatGPT Rating: 1 out of 5 stars1/5Chat-GPT Income Ideas: Pioneering Monetization Concepts Utilizing Conversational AI for Profitable Ventures Rating: 4 out of 5 stars4/5ChatGPT Ultimate User Guide - How to Make Money Online Faster and More Precise Using AI Technology Rating: 0 out of 5 stars0 ratingsTensorFlow in 1 Day: Make your own Neural Network Rating: 4 out of 5 stars4/5ChatGPT for Marketing: A Practical Guide Rating: 3 out of 5 stars3/5THE CHATGPT MILLIONAIRE'S HANDBOOK: UNLOCKING WEALTH THROUGH AI AUTOMATION Rating: 5 out of 5 stars5/5The Business Case for AI: A Leader's Guide to AI Strategies, Best Practices & Real-World Applications Rating: 0 out of 5 stars0 ratingsDark Aeon: Transhumanism and the War Against Humanity Rating: 5 out of 5 stars5/5
Reviews for Beginning Machine Learning in the Browser
0 ratings0 reviews
Book preview
Beginning Machine Learning in the Browser - Nagender Kumar Suryadevara
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
N. K. SuryadevaraBeginning Machine Learning in the Browserhttps://doi.org/10.1007/978-1-4842-6843-8_1
1. Web Development
Nagender Suryadevara¹
(1)
School of Computer and Information Sciences, University of Hyderabad, Hyderabad, Telangana, India
This chapter introduces you to the fundamentals of machine learning (ML) and provides a practical primer to web design and development for complete beginners. Topics covered in this chapter include the following:
Hypertext Markup Language (HTML)
Cascading Style Sheets (CSS)
JavaScript (JS)
Document Object Model (DOM)
jQuery
These building blocks of web development enable you to implement rich user functionalities into your web design.
Machine Learning Overview
Machine learning, a subset of artificial intelligence (AI), aims to enable computers to learn without interacting with specific programs. ML enables computers to develop programs that can access data and use it to learn for themselves (and thus perform like a human).
Arthur Samuel, who believed that computers could learn without specific programs, popularized the term machine learning in 1959. In 1997, Tom Mitchell further clarified the concept of ML, stating that a computer could learn from some relative measure involving past performance while processing some task, thus giving some experience to the computer.
Today, electronics of all kinds are outfitted with cutting-edge, high-sensitivity sensors. Further, Internet connectivity allows for communication among gadgets (things) for better environment-condition monitoring. Accordingly, the massive amount of data generated from these gadgets drives the Internet of Things (IoT) concept. Using AI and ML strategies, the broad information gathered can be processed, scaled, ordered, and used to predict events.
In conventional ML approaches, data is sent to and handled through a central server, which experiences communication overhead, latency, protection loss, and security issues. To overcome these difficulties, inferences from the data collected in the IoT realm can be made by deploying better ML techniques near the data origin using, for instance, browser-environment capabilities. Exploiting ML strategies on resource-constrained computing devices through a browser helps respective entities to make better decisions in real time for enhanced functionality.
The tremendous computational demands of current AI strategies and the development of ever-increasing numbers of AI-enhanced applications forecast more data-processing problems. After all, computer-based intelligence systems features are more demanding as they seek to reduce resource utilization, to quicken resource accessibility, and to exploit resource utilization for precision.
Software developers and engineers can now more effectively leverage AI to conceptualize exceptionally responsive applications that respond to user-sourced information in real time, such as voice or facial recognition. They can also make smarter applications that can learn from user behavior. Computer-based intelligence enables us to automate applications to incorporate substantive proposals, to respond to voice requests or physical motions, to use mobile phone cameras to recognize items or places, and to figure out how to help users with day-by-day activities.
In the past, many of the best ML and deep learning (DL) systems required familiarity with Python and its related library system. Production of ML models required unique reasoning equipment and programming tools, such as NVIDIA graphical processing units (GPUs) and CUDA. Now, however, incorporating ML into JavaScript (JS) applications often involves deploying the ML part on remote cloud systems, such as Amazon Web Services (AWS), and getting the model to run on the local system via application programming interface (API) calls. This nonlocal, back-end centered methodology has likely kept many web engineers from taking advantage of the abundant prospects AI offers to front-end