codingecho

日々の体験などを書いてます

Machine Learning

RNNと時系列データを使った気温の予測

時系列データをRNNで扱うサンプルです。過去の気温から未来の気温予想を予測します。 以下のサンプルはGoogle Colaboratory上で実行しています。 気象データセットのダウンロードします。 ちなみに !<command> のようにするとnotebook上でコマンドが使えます。 !wget </command>…

Cloud Machine Learning Engineを使用した機械学習のシステムアーキテクチャ

Google Cloud PlatformのCloud Machine Learning Engineを使用した機械学習のシステムアーキテクチャについて考える機会があったので紹介したいと思います。 前提条件 Google Cloud Platformを使用する オンライン予測が短時間に集中するが頻度は高くない (1…

機械学習システムのアーキテクチャ設計

アーキテクチャの考え方 Machine Learning Systemsを読みました。ここで紹介されているアプリケーションのアーキテクチャの設計方法を紹介します。 こちらの書籍ではScala, Akka, Sparkを使ってリアクティブなアプリケーションを作成していますが、ここでは…

LSTMの文の理解能力

English LSTMの文の理解能力について、個人的に面白いと思ったので紹介したいと思います。今回使用した学習済みモデルはこちらの記事で紹介しています。 以下の動画は2つの質問を学習済みモデルにしたものです。A(上の質問)は課金に関する質問で、B(下の質問…

Understanding sentence with LSTM

I am going to demonstrate LSTM understand a sentence. The model I used explained this blog post. Below video gives an example classifies the two questions that A is about payment and B is about an account. Both texts are what mix these two…

CoreMLを使ったGenerative Adversarial NetworkのiOS Appを作る

English page iOS上でCoreMLを使って手書き文字を生成するアプリを作成しました。 手書き文字の生成からアプリの公開までをまとめておきたいと思います。 使ったソフトウェア Xcode 9.2 (9C40b) Docker 17.09.1-ce TensorFlow docker imagesha256:1bb38d61d2…

Create a Generative Adversarial Network iOS App with CoreML

I created the app that generates a handwritten image with CoreML on iOS. I'm going to explain the process to release this app from beginning to end. The software versions Xcode 9.2 (9C40b) Docker 17.09.1-ce TensorFlow docker imagesha256:1b…

I implemented GANs

I implemented GANs(Generative Adversarial Networks) because I want to learn about GANs with TensorFlow. I referred to here. And this is my code implemented GANs. This code almost same what I referred. My GANs repeatedly learn with MNIST ha…