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

https://github.com/aazuspan/mnist-polar

An experiment classifying MNIST digits in 1D with polar aggregation
https://github.com/aazuspan/mnist-polar

1d-cnn mnist polar-coordinates pytorch

Last synced: 3 months ago
JSON representation

An experiment classifying MNIST digits in 1D with polar aggregation

Awesome Lists containing this project

README

        

An experiment classifying MNIST digits in 1D with polar aggregation.

See the [blog post](http://aazuspan.dev/blog/classifying-mnist-as-1d-signals/) for details.

## Method

1. Digit images are converted to 1D signals by [aggregating over the radial dimension](https://github.com/aazuspan/mnist-polar/blob/340c493b35e4b03f896088350ab06587db6fdc46/src/polar_mnist/transforms.py#L8-L29) in polar space.

https://github.com/user-attachments/assets/6833013f-0c52-4c75-9b5a-0e4b607e8280

2. Signals are classified using a [1D CNN](https://github.com/aazuspan/mnist-polar/blob/main/src/polar_mnist/model.py) with circular padding.

![Digit signals](figures/digit_signals.png)