codingecho

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

TensorFlow

LSTMを使ってテキストの多クラス分類をする

English Kerasを使ってテキスト分類をするWebアプリケーションのプロトタイプを作ってみました。このプロトタイプはカスタマーサービスで利用することを想定してカスタマーからの質問に自動で返答することを考えます。質問はいくつかのカテゴリーに属してい…

Multi-categorical text classification with LSTM

I created the prototype of a web application for customer service that uses sequence classification with Keras. This prototype's purpose is to reply the proper response of some categories to our customer are based on the questions customer…

How to install CUDA and cuDNN on Ubuntu 16.04 LTS

I've been running this machine for TensorFlow and Keras with Jupyter notebook. These are my environments: $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS" $ lsp…

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…

What is the difference between tf.placeholder and tf.Variable

I read this tutorial. There were the confusing terms they are tf.placeholder and tf.Variable. So I checked the difference point. tf.placeholder is called when a session runs a calculation. If once you set a value with tf.placeholder, it ca…