Skip to content

gregdhill/lin-reg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Linear Regression

Pure C implementation of linear least squares for regression analysis using the derived normal equations to obtain optimal weights. This is based in part on the MLPR module taken at the University of Edinburgh in 2017. The code is currently unoptimised so it should not be used in production, but it will output all transformations throughout execution.

Compile: gcc -o lreg lreg.c -lm