- Hands-On Deep Learning with Apache Spark
- Guglielmo Iozzia
- 281字
- 2021-07-02 13:34:26
The DeepLearning4j framework
Before jumping into the first example, let's quickly introduce the DeepLearning4j (https://deeplearning4j.org/) framework. It is an open source (released under the Apache license 2.0 (https://www.apache.org/licenses/LICENSE-2.0)), distributed deep learning framework written for the JVM. Being integrated since its earliest releases with Hadoop and Spark, it takes advantage of such distributed computing frameworks to speed up network training. It is written in Java, so is compatible with any other JVM language (including Scala of course), while the underlying computations are written in lower level languages, such as C, C++, and CUDA. The DL4J API gives flexibility when composing deep neural networks. So it is possible to combine different network implementations as needed in a distributed, production-grade infrastructure on top of distributed CPUs or GPUs. DL4J can import neural net models from most of the major ML or DL Python frameworks (including TensorFlow and Caffe) via Keras (https://keras.io/), bridging the gap between the Python and the JVM ecosystems in terms of toolkits for data scientists in particular, but also for data engineers and DevOps. Keras represents the DL4J's Python API.
DL4J is modular. These are the main libraries that comprise this framework:
- Deeplearning4j: The neural network platform core
- ND4J: The NumPy (http://www.numpy.org/) porting for the JVM
- DataVec: A tool for ML ETL operations
- Keras import: To import pre-trained Python models implemented in Keras
- Arbiter: A dedicated library for multilayer neural networks hyperparameter optimization
- RL4J: The implementation of deep reinforcement learning for the JVM
We are going to explore almost all of the features of DL4J and its libraries, starting from this chapter and across the other chapters of this book.
The reference release for DL4J in this book is version 0.9.1.
- 并行數(shù)據(jù)挖掘及性能優(yōu)化:關(guān)聯(lián)規(guī)則與數(shù)據(jù)相關(guān)性分析
- Hands-On Data Science with SQL Server 2017
- 基于多目標(biāo)決策的數(shù)據(jù)挖掘方法評估與應(yīng)用
- CentOS 8 Essentials
- 大數(shù)據(jù)技術(shù)基礎(chǔ):基于Hadoop與Spark
- Citrix? XenDesktop? 7 Cookbook
- Excel 2010函數(shù)與公式速查手冊
- Learn QGIS
- MATLAB-Simulink系統(tǒng)仿真超級學(xué)習(xí)手冊
- 傳感器原理與工程應(yīng)用
- Machine Learning with Spark(Second Edition)
- PyTorch深度學(xué)習(xí)
- Win 7二十一
- 輸送技術(shù)、設(shè)備與工業(yè)應(yīng)用
- Mastering Microsoft Dynamics 365 Customer Engagement