November 2017
Intermediate to advanced
304 pages
6h 58m
English
Let's start our effort incrementally by trying the technical changes on the notMNIST dataset we used in Chapter 2, Your First Classifier. You can write the code as you go through the chapter, or work on the book's repository at:
https://github.com/mlwithtf/mlwithtf/blob/master/chapter_02/training.py.
We will begin with the following imports:
import sys, os
import tensorflow as tf
sys.path.append(os.path.realpath('../..'))
from data_utils import *
from logmanager import *
import math
There are not many substantial changes here. The real horsepower is already imported with the tensorflow package. You'll notice that we reuse our data_utils work from before. However, we'll need some changes there.
The only difference from ...
Read now
Unlock full access