Skip to content

BestMat/perceptron.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perceptron.c

perceptron.c is a single layer perceptron implementation in the C Programming Language without any libraries.

Perceptron Implementation on macOS

Build

This repository has been written in C99 and requires LibC, preferrably to be built on an UNIX or POSIX-compliant system.

Required tools

  1. Git
  2. C99 Compiler (GNU GCC, Clang)
  3. Terminal Emulator

macOS / Linux

$ git clone github.com/bestmat/perceptron.c
$ cd perceptron.c
$ make -k

Windows

Using a C compiler on Windows is complicated, so its better to install Windows Subsystem for Linux. If WSL2 cannot be installed, install Cygwin and compile.

Run

$ chmod +x bin/perceptron
$ ./bin/perceptron

References

  1. Wikipedia: Perceptron
  2. Wikipedia: Sigmoid Function
  3. Wikipedia: Dot Product

About

A single-layer perceptron implementation in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors