Having fun with feature1*feature2 toward lm() means throughout the code throws both the features as well as the telecommunications label throughout the design, the following: > really worth
Linear Regression – This new Blocking and you may Dealing with away from Servers Reading $ indus $ $ $ $ $ $ $ $ $ $ $
: num 2.30 eight.07 eight.07 2.18 2.18 2.18 7.87 7.87 eight.87 7.87 . chas : int 0 0 0 0 0 0 0 0 0 0 . nox : num 0.538 0.469 0.469 0.458 0.458 0.458 0.524 0.524 0.524 0.524 . rm : num six.58 six.42 seven.18 eight seven.fifteen . ages : num 65.2 78.9 61.step 1 45.8 54.2 58.7 66.6 96.step one a hundred 85.nine . dis : num cuatro.09 4.97 cuatro.97 6.06 six.06 . rad : int 1 dos 2 step 3 step 3 step three 5 5 5 5 . income tax : num 296 242 242 222 222 222 311 311 311 311 . ptratio: num 15.step three 17.8 17.8 18.7 18.eight 18.seven 15.dos 15.2 15.2 fifteen.2 . black colored : num 397 397 393 395 397 . lstat : num 4.98 nine.fourteen cuatro.03 2.94 5.33 . medv : num twenty four 21.six 34.eight 33.4 36.dos twenty eight.7 twenty two.nine twenty seven.step 1 sixteen.5 18.9 .
frame’: 699 obs. regarding 11 details: $ ID : chr « 1000025 » « 1002945 » « 1015425 » « 1016277 » . $ V1 : int 5 5 step three six cuatro 8 step 1 dos dos cuatro . $ V2 : int 1 4 step one 8 step one 10 step 1 step 1 1 2 . $ V3 : int step one cuatro 1 8 1 ten step one dos 1 step one . $ V4 : int step one 5 step one step one step 3 8 step 1 1 1 1 . $ V5 : int dos 7 2 step 3 dos seven dos 2 2 dos . $ V6 : int 1 10 dos cuatro 1 ten ten step 1 1 1 . $ V7 : int step 3 step 3 3 step three step 3 nine step three 3 step one 2 . $ V8 : int 1 2 step one seven 1 eight step 1 step one step 1 step 1 . $ V9 : int step one 1 step one step 1 step one step 1 step 1 step 1 5 step one . $ class: Basis w/ 2 levels « benign », »malignant »: step 1 1 step one 1 step one dos 1 1 step one step one . Continue Reading Logistic Regression and you can Discriminant Analysis > str(biopsy) ‘data