Skip to content

cshmookler/linear_regressor

Repository files navigation

linear_regressor

Performs linear regression with the least squares method to find a function of best fit for a set of sample data.

Build from Source

1.  Install a C++ compiler, Git, Meson, GNU MP, Eigen3, and cpp_result.

Linux (Arch):

sudo pacman -S base-devel git meson gmp eigen

Follow the instructions here to install cpp_result.

2.  Clone this project.

git clone https://github.com/cshmookler/linear_regressor.git
cd linear_regressor

3.  Build this project from source.

meson setup build
cd build
ninja

4.  (Optional) Install this project globally.

meson install

TODO

  • Create a structure for representing a linear equation.
  • Perform linear regression using the least squares method on any linear equation.
  • Write examples for using the linear regressor.
  • Write tests for all methods.

About

Performs linear regression with the least squares method to find a function of best fit for a set of sample data.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors