Implementing a linear regression machine learning algorithm to predict house prices based on historical data.
Given: historical data Output: predicted price for each houses
Algorithms implemented:
- Gauss-Jordan Elimination for computing inverses
- Matrix multiplication, subtraction
- Matrix subtraction
- Malloc funciton in C programming
- file input and ouput
Once downloaded the codes, save house-price-prediction-machine-learning-algorithm
- Type 'make' in terminal, then press return
- Download trainA.txt, testA.txt, and resultA.txt, and save them in the save directory as fourth.c
- Enter "./fourth trainA.txt testA.txt" in the terminal and press return
- the resulting house prices should be the same as those in resultA.txt