Regression in Angular using TensorFlow.js
What you'll learn
- Creating linear/nonlinear regression models in TensorFlowjs
- Basics of training a machine learning model
- Building smart apps in Angular
- Basics of linear/nonlinear regression
- How to use Angular for scientific computation based on machine learning
- Coding in TypeScript by example, basics, hands-on section
Requirements
- I have tried to explain everything, but Angular knowledge may be advantageous, and a machine learning knowledge also may be useful.
- All the tools used are open access, free of charge. You just need a computer with web browser
Description
Feature: this course uses an AI-assistant that you will support all the time. It is a talking assistant, you make your questions and it will reply back, a good conversation! You do not neet to buy the course to see how the assistant works.
=
Data Science is all about finding information/knowledge from datasets. One very powerful approach is using linear/nonlinear models, called regression; we are not going to see logistic regression on this course, see my other course “Machine learning in Angular”. Linear models, the example we are going to work on, even though they are limited, they still can delivery something if the datasets have a linear tendency. In TensorFlow.js, shifting to nonlinear models is as easy as changing a single parameter; that is all.
TensorFlow.js makes it possible to build simple models to complex ones (e.g., deep learning) using the same notation, it is magic! It is possible thanks to how TensorFlow.js was build, and the power of tensor, where TensorFlow.js is build on.
On this course, we use Angular as framework, coding environment, and TensorFlow.js as the library for creating a machine learning based regression model.
What is Angular??
Angular is a framework, designed by the Google Team, and it has been widely used to design sites. Essentially, it is a framework to create frontends, based on TypeScript. In layman's terms: the page you see and interact on your web browser. It is perfect to be used alongside TensorFlow.js for offering also the advantage of not sending information to the server: you can build everything with Angular, they even have their own server call Angular Universal. As they like to say, Angular comes with batteries.
What is TensoFlow.js??
TensorFlow.js is a JavaScript-based library for deep learning, based on the classical TensorFlow, written in Python; you can also do simple learning machine, some simple mathematical operations with tensors and so on. There are several reasons for using TensorFlow.js instead of Python, and I hope to come back to that in the future.
A nice point, it is possible to transform models in both directions: TensorFlow.js <-> TensorFlow. Even their notations are alike.
We are going to build a linear regression model using TensorFlow.js in Angular. We are also going to learn about machine learning, and Angular!
External resource
- GitBook
- GitHub
- Articles
Update 18/08/23. in response to student feedback, I am upgrading the course, adding more resources.
Who this course is for:
- JavaScript programmers wanting to learn machine learning
- Machine learning practitioners wanting to learn web coding
- Angular coders wanting to add intelligence to their apps
- Programmers to start on Angular using practical problems
Instructors
I have been working with computer programming and mathematical modeling applied to biological systems since my bachelor of Engineering.
Currently, I am an Independent Researcher and Member of the Center of Excellence for Research DEWS (University of L'Aquila, DISIM, Italy)
Short-bio (EN): B.Eng by Universidade Federal de Ouro Preto (Brazil) in Production Engineering; double master degree by University of L'Aquila and Gdansk University of Technology: PhD on a collaboration between the Brazilian programme Science without Borders in biomathematics at the University of L'Aquila/IASI-CNR/BioMathLab. Master of science and PhD degrees recognized in Brazil by University of São Paulo (USP) as bioinformatics. Postdoc by Federal University of Bahia and Fiocruz.
Academia Edu
140 Followers | 12 Following | 5 Co-authors | 8,654Total Views | top 2%.
Biografia curta:
Tenho trabalhado com programação de computadores e modelagem computacional aplicado a sistemas biológicos.
Alguns detalhas da minha formação:
•Sou formado pela UFOP em engenharia de produção;
•Tenho mestrado pela Universidade de L’Aquila e Técnica de Gdansk;
•Tenho doutorado pela Universidade de L’Aquila;
•Tenho um postdoc pela UFBA e terminei um outro pela Fiocruz;
•Meus diplomas no exterior foram reconhecidos pela USP em bioinformática;
TensorFlow.js is a library for machine learning in JavaScript. Develop ML models in JavaScript, and use ML directly in the browser or in Node.js.
On this profile, we explore the interception mainly with TypeScript/Angular. However, when the case, we may explore also in pure JavaScript. Our focus are applications, Practical TensorFlow.js, we like to get our hands pretty duty making awesome apps!