Itis a powerful learning algorithm inspired by how the brain works(这是一个强大的学习算法,灵感来自大脑的工作方式).
single neural network
Given data about the size of houses on the real estate market and you want to fit a function that will predict their price. It is a linear regression problem because the price as a function of size is a continuous output.
We know the prices can never be negative so we are creating a function called Rectified Linear Unit (ReLU)which starts at zero.
最简单的神经网络
neuron implements the function
Multiple neural network
The price of a house can be affected by other features such as sie, number of bedrooms, zip code and wealth. The role of the neural network is to predicted the price and it will automatically generate the hidden units. We only need to give the inputs x and the output y.
人们愿意在房屋上花费多少钱和他们关注什么息息相关。在这个例子,家庭人口、步行化程度以及学校质,都能帮助你预测房屋的价格。在这个例子中 x 是所有的这四个输入 y 是预测的价格。
值得注意的是神经网络只有你喂给它足够多的数据,关于x和y的数据,给到足够的 x、y 训练样本,神经网络非常擅长于,计算从 x 到 y 的精准映射函数。这就是一个基本的神经网络,你可能发现 自己的神经网络在监督学习的环境下是如此有效和强大。也就是说,你只要尝试输入一个 x, 即可把它映射成 y 。
神经网络就是输入X到输出Y的一系列精准映射函数