Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/banyc/sharpnetwork

A bare-metal implementation of neural networks. Define networks in Numpy.NET. More than encapsulations.
https://github.com/banyc/sharpnetwork

csharp educational from-scratch neural-network numpy oop

Last synced: about 1 month ago
JSON representation

A bare-metal implementation of neural networks. Define networks in Numpy.NET. More than encapsulations.

Awesome Lists containing this project

README

        

# NumSharpNetwork

A deep dive into neural networks.

Defining network in Numpy.NET. For more information, go to [this repository](https://github.com/zllz4/numpy-network)

## Screenshot

Convolution on MNIST:

![](img/2020-11-10-22-12-00.png)

## Purpose

- For education rather than for production.
- OOP-friendly and maintainable machine learning code.
- Reduce stupid errors before compile time.
- Prefer robust coding than less typing.

## Restriction

Currently Windows only.

## Run

Suppose the `pwd` is the root folder of the project.

```bash
cd src/NumSharpNetwork.Client
dotnet restore
dotnet run
```

## Notices

- `lossXXXXXGradient` indicates `d_loss / d_XXXXX`
- `lossXXXXXGradient.shape == XXXXX.shape`

## Credit

- The origin/inspiring project -
- A good source of examples -

## Todo

- [ ] Add test cases for each layer