Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cocoa-ai/NamesCoreMLDemo
🏷 iOS11 demo application for predicting gender from first names.
https://github.com/cocoa-ai/NamesCoreMLDemo
classification coreml coreml-models gender-classification ios machine-learning nlp swift swift4
Last synced: 3 months ago
JSON representation
🏷 iOS11 demo application for predicting gender from first names.
- Host: GitHub
- URL: https://github.com/cocoa-ai/NamesCoreMLDemo
- Owner: cocoa-ai
- License: mit
- Created: 2017-07-09T14:16:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-07T18:58:07.000Z (about 6 years ago)
- Last Synced: 2024-05-21T01:13:45.575Z (6 months ago)
- Topics: classification, coreml, coreml-models, gender-classification, ios, machine-learning, nlp, swift, swift4
- Language: Swift
- Homepage: https://github.com/cocoa-ai
- Size: 1010 KB
- Stars: 36
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Names CoreML Demo
A Demo application using `CoreML` framework for predicting gender from first
names.
## Model
This demo is based on [An introduction to Machine Learning](http://nlpforhackers.io/introduction-machine-learning/) tutorial, which describes how to build a classifier able to distinguish between
boy and girl names using [datasets](https://www.ssa.gov/oact/babynames/limits.html)
with the popularity of baby names over the years from The US Social Security
Administration.[CoreML model](https://github.com/cocoa-ai/NamesCoreMLDemo/blob/master/Names/Resources/NamesDT.mlmodel)
was converted from [Scikit-learn Pipeline](http://scikit-learn.org/stable/modules/generated/sklearn.pipeline.Pipeline.html)
using [coremltools](https://pypi.python.org/pypi/coremltools) python package.## Requirements
- Xcode 9
- iOS 11## Installation
```sh
git clone https://github.com/cocoa-ai/NamesCoreMLDemo.git
cd NamesCoreMLDemo
open Names.xcodeproj/
```Build the project and run it on a simulator or a device with iOS 11.
## Conversion
```sh
cd Convert
python names.py
```## Author
Vadym Markov, [email protected]
## Credits
- [Is it a boy or a girl? An introduction to Machine Learning](http://nlpforhackers.io/introduction-machine-learning/) from http://nlpforhackers.io
## References
- [Apple Machine Learning](https://developer.apple.com/machine-learning/)
- [CoreML Framework](https://developer.apple.com/documentation/coreml)
- [coremltools](https://pypi.python.org/pypi/coremltools)