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

Setting up your workspace

Before we can start, you will need to set up your workspace. The examples in this book are all meant to run in a Jupyter notebook. Jupyter notebooks are an interactive development environment mostly used for data-science applications and are considered the go-to environment to build data-driven applications in.

You can run Jupyter notebooks either on your local machine, on a server in the cloud, or on a website such as Kaggle.

Note

Note: All code examples for this book can be found here: https://github.com/PacktPublishing/Machine-Learning-for-Finance and for chapter 1 refer the following link: https://www.kaggle.com/jannesklaas/machine-learning-for-finance-chapter-1-code.

Deep learning is computer intensive, and the data used in the examples throughout this book are frequently over a gigabyte in size. It can be accelerated by the use of Graphics Processing Units (GPUs), which were invented for rendering video and games. If you have a GPU enabled computer, you can run the examples locally. If you do not have such a machine, it is recommended to use a service such as Kaggle kernels.

Learning deep learning used to be an expensive endeavor because GPUs are an expensive piece of hardware. While there are cheaper options available, a powerful GPU can cost up to $10,000 if you buy it and about $0.80 an hour to rent it in the cloud.

If you have many, long-running training jobs, it might be worth considering building a "deep learning" box, a desktop computer with a GPU. There are countless tutorials for this online and a decent box can be assembled for as little as a few hundred dollars all the way to $5,000.

The examples in this book can all be run on Kaggle for free, though. In fact, they have been developed using this site.

主站蜘蛛池模板: 凤山县| 瑞昌市| 台中县| 泽库县| 长海县| 清流县| 电白县| 平舆县| 绥宁县| 绥宁县| 庆云县| 泰宁县| 阜城县| 拜泉县| 库伦旗| 蒲城县| 和平区| 清水河县| 阳曲县| 吴旗县| 湘乡市| 余干县| 乌兰浩特市| 沾益县| 嘉祥县| 凌海市| 齐齐哈尔市| 中阳县| 龙州县| 山阴县| 宜章县| 兴安盟| 治县。| 视频| 社旗县| 法库县| 郓城县| 郴州市| 陆河县| 大兴区| 长子县|