In the previous chapter, we discussed classifying time series data for multi-variate features. In this chapter, we will create a long short-term memory (LSTM) neural network to classify univariate time series data. Our neural network will learn how to classify a univariate time series. We will have UCI (short for University of California Irvine) synthetic control data on top of which the neural network will be trained. There will be 600 sequences of data, with every sequence separated by a new line to make our job easier. Every sequence will have values recorded at 60 time steps. Since it is a univariate time series, we will only have columns in CSV files for every example recorded. Every sequence is an example recorded. We will split these sequences of data into train/test sets to perform training and evaluation...

Java Deep Learning Cookbook
By :

Java Deep Learning Cookbook
By:
Overview of this book
Java is one of the most widely used programming languages in the world. With this book, you will see how to perform deep learning using Deeplearning4j (DL4J) – the most popular Java library for training neural networks efficiently.
This book starts by showing you how to install and configure Java and DL4J on your system. You will then gain insights into deep learning basics and use your knowledge to create a deep neural network for binary classification from scratch. As you progress, you will discover how to build a convolutional neural network (CNN) in DL4J, and understand how to construct numeric vectors from text. This deep learning book will also guide you through performing anomaly detection on unsupervised data and help you set up neural networks in distributed systems effectively. In addition to this, you will learn how to import models from Keras and change the configuration in a pre-trained DL4J model. Finally, you will explore benchmarking in DL4J and optimize neural networks for optimal results.
By the end of this book, you will have a clear understanding of how you can use DL4J to build robust deep learning applications in Java.
Table of Contents (14 chapters)
Preface
Introduction to Deep Learning in Java
Data Extraction, Transformation, and Loading
Building Deep Neural Networks for Binary Classification
Building Convolutional Neural Networks
Implementing Natural Language Processing
Constructing an LSTM Network for Time Series
Constructing an LSTM Neural Network for Sequence Classification
Performing Anomaly Detection on Unsupervised Data
Using RL4J for Reinforcement Learning
Developing Applications in a Distributed Environment
Applying Transfer Learning to Network Models
Benchmarking and Neural Network Optimization
Other Books You May Enjoy
How would like to rate this book
Customer Reviews