Coder Social home page Coder Social logo

reshalfahsi / neuralnetwork Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 36.98 MB

Implementation of Artificial Neural Network Algorithm

License: MIT License

Python 6.60% Jupyter Notebook 93.40%
artificial-intelligence artificial-neural-networks python machine-learning deep-learning neural-network deep-neural-networks gradient-descent newton-method medical-image-processing

neuralnetwork's Introduction

Neural Network

license ci testing

A naive implementation of a neural network. The code structure is heavily inspired by PyTorch and TensorFlow. However, this package is used for educational purposes and is not intended to be adopted in production.

Installation

git clone https://github.com/reshalfahsi/neuralnetwork
cd neuralnetwork
pip install .

Quick Demo

Here is a short example of the usage of neuralnetwork components. For the complete demo, please take a look at examples/classification.py and notebook/Classification.ipynb for the classification problem. We also provide am example for regression problem: examples/regression.py and notebook/Regression.ipynb.

import neuralnetwork.nn as nn
import numpy as np

input = np.random.randn(1, 1, 200)
m = nn.Linear(200, 100)
out = m(input)

print(out.shape)
# (1, 1, 100)

neuralnetwork's People

Contributors

reshalfahsi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

neuralnetwork's Issues

Docs/Comments explaining the concepts and code

Hi buddy,

This is a great project however code is severely lacking documentation/comments. Would like to see that so I can use it for teaching purpose to students starting in ML.

Thanks,
Suyash

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.