官术网_书友最值得收藏!

Summary

Deep learning is a subset of machine learning that was inspired by the biological structure of human brains. It uses deep neural networks to solve complex data problems through the use of vast amounts of data. Even though the theory was developed decades ago, it has been used recently thanks to advances in hardware and software that allow us to collect and process millions of pieces of data.

With the popularity of deep learning solutions, many deep learning libraries have been developed. Among them, one of the most recent ones is PyTorch. PyTorch uses a C++ backend, which helps speed up computation, while having a Python frontend to keep the library easy to use.

It uses tensors to store data, which are n-ranked matrix-like structures that can be run on GPUs to speed up processing. It offers three main elements that are highly useful for creating complex neural network architectures with little effort.

The autograd library can compute the derivatives of a function, which are used as the gradients to optimize the weights and biases of a model. Moreover, the nn module helps you to easily define the model's architecture as a sequence of predefined modules, as well as to determine the loss function to be used to measure the model. Finally, the optim package is used to select the optimization algorithm to be used to update the parameters, considering the gradients calculated previously.

In the next chapter, we will learn about the building blocks of a neural network. We will cover the three types of learning processes, as well as the three most common types of neural networks. For each neural network, we will learn how the network architecture is structured, as well as how the training process works. Finally, we will learn about the importance of data preparation and solve a regression data problem.

主站蜘蛛池模板: 兰坪| 东宁县| 鄱阳县| 扬州市| 黔江区| 松溪县| 从江县| 建昌县| 江达县| 武安市| 泌阳县| 新宁县| 林甸县| 通山县| 双牌县| 莒南县| 高邮市| 二连浩特市| 年辖:市辖区| 华蓥市| 陕西省| 六盘水市| 洪江市| 黄骅市| 开封市| 丰原市| 旬阳县| 吉安市| 蓬安县| 昆山市| 阿尔山市| 洞头县| 桃源县| 道真| 崇礼县| 溧阳市| 绥德县| 石河子市| 通许县| 黄龙县| 大宁县|