A basic piece of Software written in C++ that performs Linear and Gaussian Regression. (Data supplied in .txt format).
- Build Generator:
CMake
- Compiler:
gcc/g++ (9.4.0)
- OS:
Ubuntu 20.04
. However,Windows 10
can be used providingwsl
is used withinMS VScode
- Text Editor:
MS VScode
- Clone the project:
$ git clone https://github.com/MRLintern/C++_Regression.git
- Build the project and executable:
$ mkdir build && cd build
$ cmake ..
$ cmake --build .
$./regression
The results are generated and displayed to the console.
These results are also saved to the original .txt (input data) files; the results are already generated in the .txt files.
Consider writing the results to separate .txt files.
These results can then be visualised using a plotting library such as Matplotlib
.