Application - Visualization of machine learning algorithm of linear regression
Framework - Shiny
Course - Developing data products
Author - Vladimir Sazontyev
Left side - application
Right side - documentation
Push button "train" and linear regression algorithm try to fit function to your data:
Now you can try to predict:
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
Thank you!