π€ A suite of tools and examples for training Core ML models with Create ML.
Important Note: Create ML
is not available for the iOS SDK. It can only be used on macOS to train models and is not intended for on-device training. Instead, it is used to train models with data (which may take minutes to hours depending on computing power, size of dataset, and model). When the model is trained, a .mlmodel
file can be exported and implemented in iOS/tvOS/watchOS/macOS apps using Core ML
.
The following models are available as example Playgrounds:
Model | Associated Type | Playground |
---|---|---|
π Image Classifier | MLImageClassifier |
|
π Image Classifier Builder | MLImageClassifierBuilder |
π |
π Text Classifier | MLTextClassifier |
π |
π·οΈ Word Tagger | MLWordTagger |
π |
π Decision Tree Classifier | MLDecisionTreeClassifier |
π |
π Random Forest Classifier | MLRandomForestClassifier |
π |
π Boosted Tree Classifier | MLBoostedTreeClassifier |
|
π Logistic Regression Classifier | MLLogisticRegressionClassifier |
|
π Support Vector Classifier | MLSupportVectorClassifier |
|
π Linear Regressor | MLLinearRegressor |
|
π Decision Tree Regressor | MLDecisionTreeRegressor |
|
π Boosted Tree Regressor | MLBoostedTreeRegressor |
|
π Random Forest Regressor | MLRandomForestRegressor |
Note: Some of these are incomplete and are currently being added. The goal is to eventually have comprehensive example playgrounds for each model type in Create ML, including sample data and explanations. See Project #1 to track the progress of these playgrounds.
The easiest way to begin using ClassifierKit is to clone it directly onto your computer.
- Navigate to the desired directory on your local filesystem.
$ cd Desktop/or/any/other/folder
- Clone this repository:
$ git clone https://github.com/pdil/ClassifierKit.git
- Begin! The
Playgrounds
folder contains Swift Playgrounds for the many models contained within Create ML that will allow you to set parameters and begin training the models, either with the provided sample data or your own data.