Photo by Artur Aldyrkhanov on Unsplash

Orange Trees Growth

What will be the circumference of an Orange tree after 800 days of being planted?

In a linear regression problem, we use the formula for a straight line:

Y=m*x+b

Where Y is the question to solve

In R we use the lm() funcion to find the best adjustments for that formula given some basic info

lm(circumference ~ age, data = Orange)

According to lm, the best parameters are: Intercept = 17.3997, age = 0.1068

circumference <- 0.1068 * age + 17.3997

alt text

The result is 102.8397 mm for the value of the circumference of an Orange tree after 800 days of it being planted.

Julio Zambrano
Mechatronics Eng.

My research interests include Data Science, Machine Learning, Robotics, Deep Learning and IoT.