This is the code for "A Guide to CoreML for iOS" by Siraj Raval on Youtube
This is the code for this video on Youtube by Siraj Raval. The SMS dataset is here. This is a guide to Core ML, the new ML framework from Apple. The notebook explains it and the Xcode project implements a spam classifier.
Install these with pip
- scikit-learn
- numpy
- coremltools
These are Apple specific
- Xcode 9.0+
- iOS 11+ to build on device
Run the notebook using jupyter notebook
in terminal. You can run open the iOS code by double clicking on the .xcodeproj file from Xcode.
The credits for this code go to Gokul. I've merely created a wrapper to get people started.