Search code examples
iosswiftmachine-learningcoremlapple-vision

Is it possible to train a CoreML model on device as the app runs?


Is it possible to ship an iOS app with a CoreML model and then have the app continue improving (training) the model on device based on user behaviour for example? So, then the model would keep growing and improving right on the device with no need of a server support...


Solution

  • It's now possible with Core ML 3. https://developer.apple.com/videos/play/wwdc2019/704/ Skip to 9:00 to see it in action. If you just want the code, skip to 13:50.