Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AIアプリ5分クッキング

 AIアプリ5分クッキング

社内のLTイベント「えるLT Vol.4」で発表した資料です

Avatar for Satoshi SAKAO

Satoshi SAKAO

November 12, 2018
Tweet

More Decks by Satoshi SAKAO

Other Decks in Programming

Transcript

  1. N5 材料 猫品種分類アプリ 1人分 Mac(Mojave) 1台 Xcode(10+) 1式 ソースコード 4行

    学習用画像 各10枚以上 やる気 少々 盛り付け例
  2. CreateMLとは • CoreMLフレームワークの一部 • macOS上で機械学習(CoreML)モデルを作るためのもの • iOSでの学習には対応していない • macOS 10.14(Mojave)+

    / Xcode 10.0+ • 作れるモデル • 画像分類(MLImageClassifier) ※これのみPlayground用のUIが提供されている • 文書分類(MLTextClassifier) • 数値データ分類・回帰(MLDataTable) • 学習用データを与えるだけで作成可能 • PhotosやSiriの基盤を利用しているので,モデルを小さく短時間で学習可能 N16
  3. 参考 • Create ML | Apple Developer Documentation • https://developer.apple.com/documentation/createml

    • Creating an Image Classifier Model | Apple Developer Documentation • https://developer.apple.com/documentation/createml/creating_an_image_classifier_model • GitHub - hellock/icrawler: A multi-thread crawler framework with many builtin image crawlers provided. • https://github.com/hellock/icrawler • 機械学習用の画像を集めるのにicrawlerが便利だった - Qiita • https://qiita.com/tkt989/items/84c6581dfa1d9a42dc2d) • Classifying Images with Vision and Core ML | Apple Developer Documentation • https://developer.apple.com/documentation/vision/ classifying_images_with_vision_and_core_ml N18