linear regression
Algorithm: Linear Regression with gradient descent
Details: No use of Mean Squared Error (MSE)
Type: Supervised Learning
logistic regression
Algorithm: Logistic Regression
Details: Gradient descent for optimization, no use of MSE
Type: Supervised Learning
k-nearest neighbor
Algorithm: k-Nearest Neighbors (k-NN)
Details: Classifies based on nearest neighbors
Type: Unsupervised Learning
To compile, just dont forget to use the -lm flag to link with the math library
gcc linear-regression.c -o linear-regression -lm