Introduction

  • Application - Visualization of machine learning algorithm of linear regression

  • Framework - Shiny

  • Course - Developing data products

  • Author - Vladimir Sazontyev

Interface

image

  • Left side - application

  • Right side - documentation

Plot

Push this button:

image

and linear regression algorithm try to fit function to your data:

image

Prediction

Now you can try to predict:

image

What happens at background:

theta1 <- 0; # algorithm get this params
theta2 <- 2; # from your data
x <- 3.5; # user input
result<- theta1 + theta2*x; # prediction
result
## [1] 7

Reference

Thank you!