Skip to main content

Understanding Logistic Regression using R

 

1. What is Logistic Regression?

Logistic Regression is one of the machine learning algorithms used for solving classification problems. It is used to estimate probability whether an instance belongs to a class or not. If the estimated probability is greater than threshold, then the model predicts that the instance belongs to that class, or else it predicts that it does not belong to the class as shown in fig 1. This makes it a binary classifier. Logistic regression is used where the value of the dependent variable is 0/1, true/false or yes/no.


Example 1

Suppose we are interested to know whether a candidate will pass the entrance exam. The result of the candidate depends upon his attendance in the class, teacher-student ratio, knowledge of the teacher and interest of the student in the subject are all independent variables and result is dependent variable. The value of the result will be yes or no. So, it is a binary classification problem.


Practical Implementation of Logistic Regression

Problem Statement: - In this problem, we want to predict if a person is suffering from heart disease or not.

Data Description:- To solve this problem, I have downloaded a heart disease dataset from Kaggle (https://www.kaggle.com/ronitf/heart-disease-uci) to predict if a person is having heart disease or not.



Comments

  1. Simple Linear Regression in Machine Learning (SLR) is a tactic that can help to review and evaluate relationships between two factors.
    I would like to thank you for the efforts you have made in writing this article.
    If you are looking for advancement in your career, want to learn the data science process and its techniques,
    Visit Learnbay. co website to know details related to data science courses in Bangalore and the best data science course.
    Get placement along with certification by enrolling in data science course bangalore.

    ReplyDelete

Post a Comment

Popular posts from this blog

785 Enterprise Analytics Jobs In Mumbai, Maharashtra, India (38 New)

Choosing the proper and greatest digital advertising courses in Delhi & NCR is an ideal determination to make for better career and to work in smart method on larger salaries or ensure a better supply of earnings. Boston Institute of Analytics is an international organization that imparts coaching in predictive analytics, machine learning and synthetic intelligence to school college students and dealing professionals by means of classroom coaching carried out by business experts. In this teacher-led, stay training (onsite or distant), contributors will learn how to use SSAS to analyze giant volumes of data in databases and knowledge warehouses. BBA business analytics & knowledge science is India's first specialised Undergraduate program specializing in the data science and enterprise analytics business. Dr Abhijit Dasgupta, Director - Large Information & Visual Analytics, was a source of fixed assist and motivation together with every different faculty member we stu...

Knowledge Science, Enterprise Analytics Programs

Increase your analytics career with highly effective new Microsoft® Excel abilities by taking this Business Analytics with Excel course, which includes Energy BI coaching. Information Science is a area which is consistently evolving and constantly making manner for brand new technologies to be picked up. Many firms and professionals are mastered to stay ahead within the competition. Course Content (Score 4.5): The core course contains Statistics and likelihood, R and Python for Information Science, Hadoop, big information with Apache Spark, machine studying for information science, IBM Watson analytics, enterprise use instances of big information and data science and much more. College students had been enlightened by his profound information and business experience on Digital Advertising. This Big Information provides problem in term of storage and further analysis in rest of in real time. Information science is a combination of statistics, mathematics, computers, algorithms and a...

Reasons Why Your Content Marketing Efforts Are Failing

Social media advertising and marketing comes with its personal stream! It is truly satisfactory that some glitches forever current in each place and it may be uncared for if somebody provides greatest coaching within the digital marketing. Many of my former course students will enthusiastically attest to their effectiveness and are now utilizing them to unlock worthwhile streams of revenue by way of social media and the web. As we speak, I open a blank doc for writing a review for this institute without second thought, energy this evaluate help many upcoming digital entrepreneurs to select wonderful place to review A-Z of digital marketing. Recognizing the significance, many institutions have began to conduct courses to coach youngsters in the artwork of digital advertising. ALL the trainers are superb and so they give the best information of Digital advertising and marketing. And search the most effective digital advertising institute near me one can find us on google. Another op...