filmov
tv
Linear Algebra Basics Required for Logistic Regression || Lesson 67 || Machine Learning ||

Показать описание
#machinelearning#learningmonkey
In this class, we discuss Linear Algebra Basics Required for Logistic Regression.
For understanding Logistic regression we need to have Linear Algebra Basics Required for Logistic Regression.
Let's take a two-dimensional coordinate system.
Here we will have a line.
In the three-dimensional coordinate systems, we will have a plane.
In the same way, we will have a hyperplane in an N-dimensional coordinate system.
The equation is given below.
w1x1 + w2x2 + .... wnxn + w0.
w0 is the intercept.
In the above equation W= [w1,w2,....wn] we call it normal to the plane.
Normal means a vector perpendicular to the plane.
Vector perpendicular to the plane means if we take any vector on the plane This W is perpendicular.
Such that dot product is equal to zero.
Two vectors are perpendicular if the dot product is zero.
A.B is given as A transpose B.
Take any two points on the plane. we get a vector as Q-P.
Ending point minus starting point we get a vector PQ.
Take any vector on the plane substitute point p in the plane we get a value -b.
The same way substitute q in the equation we get value -b.
WT(Q-P) gives us WTQ - WTP.
we got -b - -b.
Which is equal to zero.
So W is normal ie perpendicular to any vector on the plane.
The distance of a point from the plane is given as WTx1 +b/ Norm W.
We can calculate the distance of a point from the plane by the above equation.
The concepts which we discussed in this class are used in the understanding of logistic regression.
We use the distance concept for writing the optimization problem of logistic regression.
and the concepts we discussed previously are also used in logistic regression.
Link for playlists:
In this class, we discuss Linear Algebra Basics Required for Logistic Regression.
For understanding Logistic regression we need to have Linear Algebra Basics Required for Logistic Regression.
Let's take a two-dimensional coordinate system.
Here we will have a line.
In the three-dimensional coordinate systems, we will have a plane.
In the same way, we will have a hyperplane in an N-dimensional coordinate system.
The equation is given below.
w1x1 + w2x2 + .... wnxn + w0.
w0 is the intercept.
In the above equation W= [w1,w2,....wn] we call it normal to the plane.
Normal means a vector perpendicular to the plane.
Vector perpendicular to the plane means if we take any vector on the plane This W is perpendicular.
Such that dot product is equal to zero.
Two vectors are perpendicular if the dot product is zero.
A.B is given as A transpose B.
Take any two points on the plane. we get a vector as Q-P.
Ending point minus starting point we get a vector PQ.
Take any vector on the plane substitute point p in the plane we get a value -b.
The same way substitute q in the equation we get value -b.
WT(Q-P) gives us WTQ - WTP.
we got -b - -b.
Which is equal to zero.
So W is normal ie perpendicular to any vector on the plane.
The distance of a point from the plane is given as WTx1 +b/ Norm W.
We can calculate the distance of a point from the plane by the above equation.
The concepts which we discussed in this class are used in the understanding of logistic regression.
We use the distance concept for writing the optimization problem of logistic regression.
and the concepts we discussed previously are also used in logistic regression.
Link for playlists:
Комментарии