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
Big Data Analytics with Java

You're reading from   Big Data Analytics with Java Data analysis, visualization & machine learning techniques

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781787288980
Length 418 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
RAJAT MEHTA RAJAT MEHTA
Author Profile Icon RAJAT MEHTA
RAJAT MEHTA
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Big Data Analytics with Java FREE CHAPTER 2. First Steps in Data Analysis 3. Data Visualization 4. Basics of Machine Learning 5. Regression on Big Data 6. Naive Bayes and Sentiment Analysis 7. Decision Trees 8. Ensembling on Big Data 9. Recommendation Systems 10. Clustering and Customer Segmentation on Big Data 11. Massive Graphs on Big Data 12. Real-Time Analytics on Big Data 13. Deep Learning Using Big Data Index

Logistic regression

This is a popular classification algorithm where the dependent variable (outcome) is categorical. Even though it has the word regression in its name, it is a classification technique. Using this technique, we can train a model on some training data and the same model we can later use on new data to classify it into different categories. So, if you want to classify data into categories such as 1/0, Yes/No, True/False, Has Disease/No Disease, Sick/Not Sick and so on, logistic regression is a good classifier model to try in these cases. As per these examples, logistic regression is typically used for binary classification, but it can also be used for multiclass classification too.

The approach used by this algorithm is quite simple. We apply the data from the dataset onto a mathematical optimization function and this function will later make the data fall either in a 0 category or 1 category. Later on when we get a new piece of data we apply the same function to that new...

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