Liner Regression Solved Example for ML



Formula : Y=aX+b

So first we calculate a and b

a=n* summation(xy)-summation(x)*summation(y) / n* summation(x*x)- summation(x*x)

b=1/n * (summation(y)- a * summation(x))



Comments

Post a Comment

Popular posts from this blog

Filter In Javafx

Kotlin with StandAlone Complier