- This repository contains the code and data files required for the article: A Comprehensive Guide to Learn Swift from Scratch for Data Science
- You can start Swift in Colab Notebook here
- MNIST.swift : Code to load the MNIST data and convert it into batch of tensors
- Swift_Data_Science_MNIST.ipynb : Notebook of the project, can be directly run in Colab
- main_model.swift : Main file of the model
- t10k-images-idx3-ubyte, t10k-labels-idx1-ubyte, train-images-idx3-ubyte, train-labels-idx1-ubyte : MNIST train and test files
All the code in this repository is under the MIT license.
I would like to thank these open source projects:
- Swift for Tensorflow for making a really mature library for Swift and for all the useful tutorials!
- Swift Book for a good tutorial on Swift basics