Import the relevant libraries and initialize the hyper-parameters

Set up some fake raw input data

Set up raw output data based on a degree 6 polynomial

Add some noise

Plot the raw data

Loading output library...

Define the nodes to hold values for input/output pairs

Define our polynomial model

Set up the parameter vector to all zero

Define the cost function just as before

Set up the session and run the learning algorithm just as before

Close the session when done

Plot the result

Loading output library...