Before implementing machine learning algorithms, let’s first familiarize ourselves with how to use TensorFlow. You’re going to get your hands dirty writing some simple code right away! This chapter will cover some essential advantages of TensorFlow to convince you it’s the machine learning library of choice.
- Concept 1: Defining tensors
- Concept 2: Evaluating ops
- Concept 3: Interactive session
- Concept 4: Session loggings
- Concept 5: Variables
- Concept 6: Saving variables
- Concept 7: Loading variables
- Concept 8: TensorBoard
- Listing 2-4:
types.py
- Listing 5-6:
main.py
- Listing 7:
interactive_session.py
- Listing 8:
logging.py
- Listing 9:
spikes.py
- Listing 10:
saving_vars.py
- Listing 11:
loading_vars.py
- Listing 12-15:
moving_avg.py