1980s and 90s. • A collection of simple trainable mathematical units, which collaborate to compute a complicated function. • Compatible with supervised, unsupervised, and reinforcement learning. What is Deep Learning?
a small subset of other neurons. • Based on what it sees, it decides what it wants to say. • Neurons learn to cooperate to accomplish a task. What is Deep Learning?
graph (DAG) to optimize an objective function • Graph is defined in high-level language (Python) • Graph is compiled and optimized • Graph is executed (in parts or fully) on available low level devices (CPU, GPU) • Data (tensors) flow through the graph • TensorFlow can compute gradients automatically
from square footage • Collect data (square footage, price) • Come up with a model (linear dependence: y = W * x + b) • Describe the model in TensorFlow • Train the model • Predict prices
,[4]] + 1 output = 8 with tf.Session() as sess: tf.initialize_all_variables().run() output = sess.run(y,feed_dict={x:[[3],[4]]}) x = tf.placeholder(tf.float32, shape=(2,1)) W x b
b, y, cost as before update_step = tf.train.GradientDescentOptimizer(learning_rate).minimize(cost) with tf.Session() as sess: tf.initialize_all_variables().run() for i in xrange(100): sess.run(update_step, feed_dict={x: ..., labels: ...}) Your data
sess.graph) # Tell the summary_writer what you want to log summary_writer.add_summary(measure, time_step) In the command line: % tensorboard --logdir=/path/to/logs
model (3) Use an existing model architecture ◦ retrain or fine tune on your dataset (4) Develop your own machine learning models ◦ solve new problems More flexible, but more effort required Your options