https://github.com/drorata/mnist-examples
ML examples for the MNIST dataset
https://github.com/drorata/mnist-examples
machine-learning ml mnist python scikit-learn torch
Last synced: 2 months ago
JSON representation
ML examples for the MNIST dataset
- Host: GitHub
- URL: https://github.com/drorata/mnist-examples
- Owner: drorata
- License: mit
- Created: 2018-02-07T12:49:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-20T09:33:23.000Z (about 8 years ago)
- Last Synced: 2025-03-05T10:46:38.398Z (over 1 year ago)
- Topics: machine-learning, ml, mnist, python, scikit-learn, torch
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Some examples on MNIST
## Running the examples
### Docker Based
You can easily tryout the examples by using the docker image.
Build it by:
```bash
docker build -t mnist .
```
Next, you can run it:
```bash
docker run -it --rm mnist bin/bash
```
Once inside the container, make sure you activate the `conda` environment: `source activate mnist`.
Now you can run the scripts; e.g. `python project/torch_fnn_train.py`.
### Conda Based
If you use `conda`, on your local machine you can start an environment by:
```bash
conda env create -f environment.yml
```
## Torch
### Simple FNN
Based on [this post](https://www.kdnuggets.com/2018/02/simple-starter-guide-build-neural-network.html).
Code is available on [GitHub](https://github.com/yhuag/neural-network-lab).
## Scikit Learn
### Random forest