Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Machine Learning in Biotechnology and Life Sciences

You're reading from   Machine Learning in Biotechnology and Life Sciences Build machine learning models using Python and deploy them on the cloud

Arrow left icon
Product type Paperback
Published in Jan 2022
Publisher Packt
ISBN-13 9781801811910
Length 408 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Saleh Alkhalifa Saleh Alkhalifa
Author Profile Icon Saleh Alkhalifa
Saleh Alkhalifa
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Getting Started with Data
2. Chapter 1: Introducing Machine Learning for Biotechnology FREE CHAPTER 3. Chapter 2: Introducing Python and the Command Line 4. Chapter 3: Getting Started with SQL and Relational Databases 5. Chapter 4: Visualizing Data with Python 6. Section 2: Developing and Training Models
7. Chapter 5: Understanding Machine Learning 8. Chapter 6: Unsupervised Machine Learning 9. Chapter 7: Supervised Machine Learning 10. Chapter 8: Understanding Deep Learning 11. Chapter 9: Natural Language Processing 12. Chapter 10: Exploring Time Series Analysis 13. Section 3: Deploying Models to Users
14. Chapter 11: Deploying Models with Flask Applications 15. Chapter 12: Deploying Applications to the Cloud 16. Other Books You May Enjoy

Measuring progress with loss

When we discussed the areas of classification and regression, we outlined a few measures to measure and quantify the performance of our models relative to one another. When it came to classification, we used precision and accuracy, whereas, in regression, we used MAE and MSE. Within the confines of deep learning, we will use a metric known as loss. The loss of a neural network is simply a measure of the cost that's incurred from making an incorrect prediction. Take, for example, a simple neural network with three input values and a single output value:

Figure 8.16 – A neural network showing input and output values

In this case, we have the values [2.3, 3.3, 1.2] being used as input values to the model, with a predicted value of 0.2 relative to the actual value of 1.0. We can demonstrate the loss as follows:

In this function, is the predicted value, while is the actual...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image