Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
Q1. Linear Regression Model using Weka
class =

     -0.1084 * CRIM +
      0.0458 * ZN +
      2.7187 * CHAS=1 +
    -17.376  * NOX +
      3.8016 * RM +
     -1.4927 * DIS +
      0.2996 * RAD +
     -0.0118 * TAX +
     -0.9465 * PTRATIO +
      0.0093 * B +
     -0.5226 * LSTAT +
     36.3411
In linear regression analysis, a variable's value is predicted based on the value of another variable.

In the linear regression model, 12 of the 13 variables in the data set are significant.
Weight * characteristics make up the first 11 terms, and intercept is the final term.

The intercept of the linear regression equation is 36.3411, which indicates that the Class/MEDV value is 36.3411 when the variable values are zero.

Q2.
num_rings = sex=I * (-0.825) + sex=M * (0.058) + length *(-0.458) + diameter *(11.075) + height * (10.762) + whole_weight * (8.975) + shucked_weight * (-19.787) + viscera_weight * (-10.582) + shell_weight * (8.742) + 3.895

Q3.
num_rings  = length * (-11.933) + diameter * (25.766) + height * (20.358) + 2.836