Search icon CANCEL
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
Healthcare Analytics Made Simple

You're reading from   Healthcare Analytics Made Simple Techniques in healthcare computing using machine learning and Python

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781787286702
Length 268 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Vikas (Vik) Kumar Vikas (Vik) Kumar
Author Profile Icon Vikas (Vik) Kumar
Vikas (Vik) Kumar
Shameer Khader Shameer Khader
Author Profile Icon Shameer Khader
Shameer Khader
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction to Healthcare Analytics 2. Healthcare Foundations FREE CHAPTER 3. Machine Learning Foundations 4. Computing Foundations – Databases 5. Computing Foundations – Introduction to Python 6. Measuring Healthcare Quality 7. Making Predictive Models in Healthcare 8. Healthcare Predictive Models – A Review 9. The Future – Healthcare and Emerging Technologies 10. Other Books You May Enjoy

Using the models to make predictions

We have finished preprocessing the data, and making and scoring the model. The AUC is similar to that reported in previous academic studies that predict ED outcomes (see Cameron et al., 2015 for an example).

The next step would be to save and deploy the model and use it to make live predictions. Fortunately, all of the classifiers in the scikit-learn library include several functions for making predictions:

  • For most classifiers, the predict() function takes a matrix, X, that contains unlabeled data as input and simply returns the class predictions with no further information.
  • The predict_proba() function takes a matrix, X, that contains unlabeled data as input and returns the probabilities with which the observations belong to each class. These should add up to 1 for each observation.
  • The predict_log_proba() function is similar to the predict_proba...
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 €18.99/month. Cancel anytime