Linear Regression using dataframes in Ruby
01-Mar-2024 398
So, we have two types of values, one of which will help predict the other. Standard terms used are dependent variables, the variables we’re trying to find, and independent variables for the variables that help us predict it. When thinking about mathematical functions, the x is the independent variable. The function returns y, which is the dependent variable. Creating a linear regression between salary and seniority, we understand that seniority is independent and will help us predict a salary ( the dependent variable).
Linear Regression using dataframes in Ruby #ruby #rubydeveloper #rubyonrails #Linear #Regression #using #dataframes https://rubyonrails.ba/link/linear-regression-using-dataframes-in-ruby