This repository houses an implementation of a Gated Recurrent Unit (GRU) neural network, specifically designed for iOS apps using Core ML. What makes this model unique is its ability to learn and improve over time by training on user data collected during app usage. The model specializes in predicting the next enum value based on previously selected enum values and time.
- iOS 13.0+
- Xcode 11+
- Python 3+
- Keras 2.4+
- TensorFlow 2+
- Coremltools 4+
-
Clone the repository:
git clone https://github.com/denismurphy/gru-coreml.git
-
Open the project in Xcode and add the Core ML and Core Data frameworks.
-
Use the provided Python script to train the model on your data.
-
Convert the trained model to Core ML format using the coremltools package.
-
Drag and drop the generated .mlmodel file into your Xcode project.
-
Integrate the model in your iOS app for predictions.
-
Implement data collection and model updating mechanisms for continuous improvement.
- The model is currently limited to predicting the next enum value based on previous enum values and time.
- Model accuracy is dependent on the quality and quantity of training data.
- Compatible only with iOS 13.0 and above.
- Implement LSTM alongside GRU for performance comparison
- Experiment with advanced architectures (e.g., stacked layers, bidirectional layers)
- Develop more sophisticated data collection and processing methods
- Explore multi-task learning capabilities
This project is licensed under the MIT License. See the LICENSE file for details.