- Deep Learning with R for Beginners
- Mark Hodnett Joshua F. Wiley Yuxi (Hayden) Liu Pablo Maldonado
- 491字
- 2021-06-24 14:30:38
Setting up reproducible results
Software for data science is advancing and changing rapidly. Although this is wonderful for progress, it can make reproducing someone else's results a challenge. Even your own code may not work when you go back to it a few months later. This is one of the biggest issues in scientific research today, across all fields, not just artificial intelligence and machine learning. If you work in research or academia and you want to publish your results in scientific journals, this is something you need to be concerned about. The first edition of this book partially addressed this problem by using the R checkpoint package provided by Revolution Analytics. This makes a record of what versions of software were used and ensures there is a snapshot of them available.
For the second edition, we will not use this package for a number of reasons:
- Most readers are probably not publishing their work and are more interested in other concerns (maximizing accuracy, interpretability, and so on).
- Deep learning requires large datasets. When you have a large amount of data, it should mean that, while we may not get precisely the same result each time, it will be very close (fractions of percentages).
- In production systems, there is more to reproducibility than software. You also have to consider data pipelines and random seed-generation.
- In order to ensure reproducibility, the libraries used must stay frozen. New versions of deep learning APIs are released constantly and may contain enhancements. If we limited ourselves to old versions, we would get poor results.
If you are interested in learning more about the checkpoint package, you can read the online vignette for the package at https://cran.r-project.org/web/packages/checkpoint/vignettes/checkpoint.html.
This book was written using R version 3.5 on Windows 10 Professional x64, which is the latest version of R at the time of writing. The code was run on a machine with an Intel i5 processor and 32 GB RAM; it should run on an Intel i3 processor with 8 GB RAM.
You can download the example code files for this book from your account at http://www.packtpub.com/. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files emailed directly to you.
You can download the code files by following these steps:
- Log in or register to our website using your email address and password.
- Hover the mouse pointer on the SUPPORT tab at the top.
- Click on Code Downloads & Errata.
- Enter the name of the book in the Search box.
- Select the book for which you're looking to download the code files.
- Choose from the drop-down menu where you purchased this book from.
- Click on Code Download.
Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:
- WinRAR I 7-Zip for Windows
- Zipeg I iZip I UnRarX for Mac
- 7-Zip I PeaZip for Linux
- 數據分析實戰:基于EXCEL和SPSS系列工具的實踐
- 數據庫原理及應用教程(第4版)(微課版)
- 云數據中心基礎
- 達夢數據庫編程指南
- Modern Programming: Object Oriented Programming and Best Practices
- 云計算服務保障體系
- Python數據分析:基于Plotly的動態可視化繪圖
- Creating Dynamic UIs with Android Fragments(Second Edition)
- 軟件成本度量國家標準實施指南:理論、方法與實踐
- 大數據架構和算法實現之路:電商系統的技術實戰
- 數字媒體交互設計(初級):Web產品交互設計方法與案例
- 金融商業算法建模:基于Python和SAS
- 數據庫應用系統開發實例
- 聯動Oracle:設計思想、架構實現與AWR報告
- MySQL數據庫實用教程