Path: blob/master/Key Python Libraries/Key Python Libraries - Day 3.ipynb
3074 views
Machine Learning Libraries
Simple linear regression
It is the most straight forward case having a single scalar predictor variable x and a single scalar response variable y.
The equation for this regression is given as y=a+bx
The expansion to multiple and vector-valued predictor variables is known as multiple linear regression. It is also known as multivariable linear regression
Logistic regression
It is a supervised learning classification algorithm used to predict the probability of a target variable
In Logistic regression, instead of fitting a regression line, we fit an "S" shaped logistic function, which predicts two maximum values (0 or 1).
K-Nearest Neighbors
It is one of the most basic yet essential classification algorithms in Machine Learning.
It belongs to the supervised learning domain and finds intense application in pattern recognition, data mining and intrusion detection
Decision Tree
Decision Trees (DTs) are a non-parametric supervised learning method used for classification and regression.
The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features.
Decision trees perform classification without requiring much computation
SVM
Support-vector machines (SVMs, also support-vector networks) are supervised learning models with associated learning algorithms that analyze data for classification and regression analysis
Algorithm tries to find a boundary that divides the data in such a way that the misclassification error can be minimized.
Select the hyper-plane which segregates the classes best
Chooses the decision boundary that maximizes the distance from the nearest data points of all the classes.
The most optimal decision boundary is the one which has maximum margin from the nearest points of all the classes(maximum margin classifier)