The softmax function is used to produce better prediction results in a logistic regression or neural network model. On its own the weighted sums are just real numbers. The softmax function converts them into relative probabilities.
In this article we will learn to do basic computations with Tensorflow. We will go beyond basic Hello World. We will learn to do matrix operations and a few other things.
We will assume that you have installed Python, Tensorflow and Numpy. All code samples assume that you have imported the packages as follows:
import numpy as np import tensorflow as tf