Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
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

Using Flask as an API and web application

In Chapter 9, Natural Language Processing, we explored the use of the transformers library for the purposes of running text similarity search engines. By using this technology, we could have explored other models and implementations, such as sentiment analysis, text classification, and many more. One particular type of model that has gained a great deal of traction when it comes to NLP is the summarization model.

We can think of summarization models as tasks designed to reduce several paragraphs of text down to a few sentences, thereby allowing users to reduce the amount of time required to read. Luckily for us, we can implement an out-of-the-box summarization model using the transformers library and install that in our app.py file. Not only will we need to cater to human users (by using a UI), but we will also need to cater to web applications (APIs) that may be interested in using our model. In order to accommodate these two cases, we...

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