Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural network

Overview

General purpose multilayered perceptron model for machine learning. This project does not include a user interface and is intended to be integrated into other software.

Contributions are welcome.

Instructions

Clone the repository and install dependencies

$ git clone git@github.com:vainiovesa/neural-network.git
$ cd neural-network
$ poetry install

Usage in code

from network import Network
from activation_functions import sigmoid, sigmoid_derivative
from loss_functions import quadratic, quadratic_derivative

layers = [2, 3, 1]
activation_f = [sigmoid, sigmoid]
activation_fd = [sigmoid_derivative, sigmoid_derivative]
loss_f = quadratic
loss_fd = quadratic_derivative

net = Network(layers, activation_f, activation_fd, loss_f, loss_fd)

About

General purpose feed-forward neural network

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages