2019/04/02 Global AI Nights Fukui
https://connpass.com/event/123614/
Global AI Nights - A free evening event to learn about Microsoft AI
https://global.ainights.com
#GlobalAINight #fukui
31. 1. Python
2. Java
3. R
4. C++
5. C
6. JavaScript
7. Scala
8. Julia
機械学習で使われるプログラミング言語
30
What is the Best Programming Language for Machine Learning Tasks? | Machine Learning Ai Python Java Programming
36. Cognitive Services Face API を使った
「アロバビューコーロ」
売上データ、気象、曜日、ディスプレイ、男女比率、
入店率などのデータから、来客予測
例. 創業100年の老舗に学ぶAI活用の極意
「Webiya System with Aroba View Koro」
35
リアル店舗の経営を コグニティブで科学する ~伊勢の老舗店「ゑびや」の挑戦~ | CNET Japan
38. Speech to Text Speaker Recognition
音声文字起こし 話者識別/認証
Text to Speech Speech Translation
テキスト読み上げ 音声の翻訳
Speech | 音声
37
https://azure.microsoft.com/ja-jp/services/cognitive-services/
39. Text Analytics Translator Text Bing Spell Check
テキストの分析 テキストの翻訳 スペルチェック
Content Moderator Language
Understanding
不快感を与えるコンテンツの
モデレート
言語理解
Language | 言語
38
https://azure.microsoft.com/ja-jp/services/cognitive-services/
50. Custom Vision API (JavaScript で利用)
49
function onImageUrlButtonClick() {
$('#imageUrlButton').attr("disabled", true);
$('#result').html('');
$('#image').html('');
var postUrl =
'https://southcentralus.api.cognitive.microsoft.com
/customvision/v2.0/Prediction/[ProjectId]/url’;
var predictionKey = ‘[PredictionKey]’;
var imageUrl = $('#imageUrlTextBox').val();
var data = { 'Url': imageUrl };
$.ajax({
type: ’post’,
url: postUrl,
data: JSON.stringify(data),
headers: {
'Prediction-key': predictionKey,
'Content-Type': 'application/json'
},
dataType: "json",
success: function (json_data) {
$('#result').html(predictionsToHtml(
json_data.predictions));
$('#image').html(
imageUrlToHtml(imageUrl));
},
error: function () {
$('#result').html('<span>エラー: 結果を
取得できませんでした。</span>');
},
complete: function () {
$('#imageUrlButton’)
.attr("disabled", false);
}
});
}
51. Custom Vision API (C#で利用)
50
public static IEnumerable<(string, double)> PredictImageUrl(string imageUrl)
{
if (!string.IsNullOrWhiteSpace(imageUrl)) {
const string predictionKey = “[PredictionKey]";
var projectId = new Guid(“[ProjectId]");
var endpoint = new PredictionEndpoint { ApiKey = predictionKey };
var predictResult = endpoint.PredictImageUrl(projectId, new
ImageUrl(imageUrl));
return predictResult.Predictions.Select(prediction =>
(prediction.Tag.ToString(), prediction.Probability));
}
return new (string, double)[] {};
}
NuGet:
52. 参考: Custom Vision で作成したモデルを Windows ML やモバイルで利用
51https://docs.microsoft.com/ja-jp/azure/cognitive-services/custom-vision-service/custom-vision-onnx-windows-ml
83. 「Microsoft Azure Machine Learning Studio による株価予想チュートリアル」
for Microsoft de:code 2018 AI sessions
https://github.com/Fujiwo/PredictStockPrice-AI-decode
サンプル チュートリアルのご紹介
82