Text size
Chapter 04 · Section III · 12 min read
Regression
Predicting a number — house prices in Bhainsepati, paddy yields in Chitwan, electricity demand on a winter night.
Classification predicts a category. Regression predicts a number. How much will this house in Bhainsepati sell for? How many tons of paddy will Chitwan produce this season? What will Kathmandu’s electricity demand be at 7pm tonight?
The simplest form is linear regression: fit a straight line through your data. It is the workhorse of applied AI in industry — far more common than the deep-learning systems that get the headlines.
This section is a stub. The full version will walk through linear regression on Nepal Rastra Bank’s exchange-rate data.