2017-12-26から1日間の記事一覧

Google Cloud Platformではじめる機械学習と深層学習を読む

3-3 Cloud Translation API 3-3-2 日本語を英語に翻訳 # クライアントライブラリのロード from google.cloud import translate # クライアントのインスタンスを作成 translate_client = translate.Client() # 翻訳したい文章 text = u'GCPで機械学習が簡単に…

Google Cloud Platformではじめる機械学習と深層学習を読む

3-2 Cloud Vision API 3-2-2 画像のラベル検出 from google.cloud import vision from google.cloud import translate #visionクライアントのインスタンス vision_client = vision.Client() #translateクライアントのインスタンス translate_client = transl…