title: Prepping to update a Core ML Model
body: <p>Core ML 3 now gives us the ability to perform on-device training. After creating an updatable Core ML Model, we need to perform some function to update it on-device by using the <code>MLUpdateTask</code> function which requires 3 parameters: <code>Model URL</code>, <code>MLBatchProvider</code> and <code>MLModelConfiguration</code>.</p>
  
  <p>Since Core ML 3 was just released, documentation for it is very limited; specifically on how to prepare the training data or an <code>MLBatchProvider</code></p>
  
  <p>Question: How do you prepare training data or create an <code>MLBatchprovider</code>. </p>