Apache Spark Deep Learning Cookbook
上QQ阅读APP看书,第一时间看更新

Setting up weights and biases for input into the neural network

The framework in PySpark and the data are now complete. It is time to move on to building the neural network. Regardless of the complexity of the neural network, the development follows a similar path:

  1. Input data
  2. Add the weights and biases
  3. Sum the product of the data and weights
  1. Apply an activation function
  2. Evaluate the output and compare it to the desired outcome

This section will focus on setting the weights that create the input which feeds into the activation function.