{"id":13995650,"url":"https://github.com/cocoa-ai/NamesCoreMLDemo","last_synced_at":"2025-07-22T22:31:39.319Z","repository":{"id":215835001,"uuid":"96688883","full_name":"cocoa-ai/NamesCoreMLDemo","owner":"cocoa-ai","description":"🏷 iOS11 demo application for predicting gender from first names.","archived":false,"fork":false,"pushed_at":"2018-10-07T18:58:07.000Z","size":1034,"stargazers_count":36,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-25T12:03:14.041Z","etag":null,"topics":["classification","coreml","coreml-models","gender-classification","ios","machine-learning","nlp","swift","swift4"],"latest_commit_sha":null,"homepage":"https://github.com/cocoa-ai","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cocoa-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-07-09T14:16:35.000Z","updated_at":"2024-02-10T13:25:43.000Z","dependencies_parsed_at":"2024-01-06T22:10:31.432Z","dependency_job_id":"5afb08e5-eab4-407d-94e7-0cb61fbe1456","html_url":"https://github.com/cocoa-ai/NamesCoreMLDemo","commit_stats":null,"previous_names":["cocoa-ai/namescoremldemo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FNamesCoreMLDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FNamesCoreMLDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FNamesCoreMLDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FNamesCoreMLDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cocoa-ai","download_url":"https://codeload.github.com/cocoa-ai/NamesCoreMLDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227190261,"owners_count":17745237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classification","coreml","coreml-models","gender-classification","ios","machine-learning","nlp","swift","swift4"],"created_at":"2024-08-09T14:03:31.908Z","updated_at":"2024-11-29T18:30:46.579Z","avatar_url":"https://github.com/cocoa-ai.png","language":"Swift","funding_links":[],"categories":["Swift","Models"],"sub_categories":["NamesDT"],"readme":"# Names CoreML Demo\n\nA Demo application using `CoreML` framework for predicting gender from first\nnames.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://github.com/cocoa-ai/NamesCoreMLDemo/blob/master/Screenshot.png\" alt=\"NamesCoreMLDemo\" width=\"300\" height=\"533\" /\u003e\n\u003c/div\u003e\n\n## Model\n\nThis 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\nboy and girl names using [datasets](https://www.ssa.gov/oact/babynames/limits.html)\nwith the popularity of baby names over the years from The US Social Security\nAdministration.\n\n[CoreML model](https://github.com/cocoa-ai/NamesCoreMLDemo/blob/master/Names/Resources/NamesDT.mlmodel)\nwas converted from [Scikit-learn Pipeline](http://scikit-learn.org/stable/modules/generated/sklearn.pipeline.Pipeline.html)\nusing [coremltools](https://pypi.python.org/pypi/coremltools) python package.\n\n## Requirements\n\n- Xcode 9\n- iOS 11\n\n## Installation\n\n```sh\ngit clone https://github.com/cocoa-ai/NamesCoreMLDemo.git\ncd NamesCoreMLDemo\nopen Names.xcodeproj/\n```\n\nBuild the project and run it on a simulator or a device with iOS 11.\n\n## Conversion\n\n```sh\ncd Convert\npython names.py\n```\n\n## Author\n\nVadym Markov, markov.vadym@gmail.com\n\n## Credits\n\n- [Is it a boy or a girl? An introduction to Machine Learning](http://nlpforhackers.io/introduction-machine-learning/) from http://nlpforhackers.io\n\n## References\n- [Apple Machine Learning](https://developer.apple.com/machine-learning/)\n- [CoreML Framework](https://developer.apple.com/documentation/coreml)\n- [coremltools](https://pypi.python.org/pypi/coremltools)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoa-ai%2FNamesCoreMLDemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcocoa-ai%2FNamesCoreMLDemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoa-ai%2FNamesCoreMLDemo/lists"}