Skip to content

fern4ndomartins/ml-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning Algorithms in C

This repository contains my implementations of simple machine learning algorithms in C.

Files Overview

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

Compiling

To compile, just dont forget to use the -lm flag to link with the math library gcc linear-regression.c -o linear-regression -lm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages