Most of us know that Logistic Regression is a Classification Algorithm! But why does it have the word 'regression' in it?
Let me explain ๐๐
๐ Let's start by basics:-
Classification: It is a process of putting things/items into a category.
When you a fruit bowl. You can separate all the fruits by categorising them by name, type, or size.
Classification can be binary or multi-class.
Binary Classification is where there exist only two categories.
Multi-Class is where there exist more than two categories.
(See the image below)
Regression helps to find a relationship between one dependent and one or more than one independent variable.
In regression, the values are continuous in nature. Examples of continuous values are height, temperature, weight, etc.
The dependent variable is the one that we try to predict through regression. The independent variable(s) are the ones that we use to predict the dependent variable.
See the equation given below:-
Logistic Regression uses the formula that is used in Linear Regression.
The formula => y = m0x0 + m1x1 + .. + c
The difference is when this same formula is passed through the SIGMOID FUNCTION.
In logistic regression, the sigmoid function provides probabilities [0, 1]. Now, the output (y) is such that,
if y >= 0.5, then y = 1
if y <= 0.5, then y = 0
Therefore, logistic regression uses the same formula as linear regression, but it is for the probability of a definite outcome.
In other words, Linear Regression gives continuous values, whereas Logistic Regression gives continuous values that are converted into 0 or 1.
โข โข โข
Missing some Tweet in this thread? You can try to
force a refresh
Some of us were looking for a place to start off our Machine Learning and Data Science Journey.
I have some resources that can help you! ๐
Check them out๐๐
1. 100 Days of Code by Ayon Roy
This repository is a gold mine for someone who is looking to begin ML. It explains to you how to go about every little topic.
Link: https://bit .ly/3wtWFwx
2. Kaggle Courses
Another phenomenal source to get started with Data Science and Machine Learning. It has topic-wise courses that can up-skill you.
The topic of TRIGGERS is a level-up from creating queries and sub-queries in the handling databases.
A super-easy guide to triggers in SQL ๐งต๐
โ๏ธ What is a trigger in the laymen (standard) language?
When someone pokes you or does something to agitate you, there is a high chance that you might get 'triggered' automatically! Right?
โ๏ธ Triggers in SQL
So, when we say TRIGGERS in SQL, it is simply a stored program that gets executed on its own when a triggering event occurs. Now, triggers are a part of PL/SQL.
PL/SQL is an extension of SQL where SQL queries are used and procedural statements/language.
What else can I say about SQL to prove that it is crucial to know how to work around databases?
Having said that, SQL could be the one thing that you could begin your programming journey with. ๐คฉ
A Beginner-friendly version of SQL (UPDATE and DELETE)
๐งต๐
๐ Let's look at the table first!
The name of the table is -> faculties
We have columns as FacultyId, Name, Class, EmailId and Salary.
โ๏ธ UPDATE
This clause is used to change values in a specified column.
You may or may not provide a condition along with the change you want to make.
๐ Update without condition:-
UPDATE table_name SET column_name = column_value;