September 2017
Beginner to intermediate
270 pages
5h 53m
English
Consider a simple dataset of a square of numbers, which will be used to train a neuralnet function in R and then test the accuracy of the built neural network:
|
INPUT |
OUTPUT |
|
0 |
0 |
|
1 |
1 |
|
2 |
4 |
|
3 |
9 |
|
4 |
16 |
|
5 |
25 |
|
6 |
36 |
|
7 |
49 |
|
8 |
64 |
|
9 |
81 |
|
10 |
100 |
Our objective is to set up the weights and bias so that the model can do what is being done here. The output needs to be modeled on a function of input and the function can be used in future to determine the output based on an input:
######################################################################### ###Chapter 1 - Introduction to Neural Networks - using R ################ ###Simple ...