Neural networks, machine learning, artificial intelligence - I get the impression that these slogans attack us from everywhere. They are mainly associated with the giants of the IT industry, who from time to time report spectacular progress in this field. I decided to dispel myths about machine learning using a series of articles explaining this problem by interesting examples. In this article, I will show you how to build and learn a neural network to generate one image based on another step by step.
I want to share with you the application that will allow you to effectively start the journey through the world of artificial neural networks. The goal of the template will be to provide the Graphical User Interface and organize the application code in a way that allows you to focus only on issues related to machine learning. The GUI will be written using JavaFX and Spring Boot frameworks. We will use a Java distributed computing library, called DL4J as the main machine learning framework.
I am pleased to introduce you to three actors of today’s performance. Each of them is a master in his field, but together they create something very powerful. So there are of course JavaFX, Spring Boot and Gradle. See what the project configuration looks like from scratch.
Both @PostConstruct and @PreDestroy annotations (often used in spring applications) are located in java.xml.ws.annotation package which is a part of Java EE module. J2EE has been deprecated in Java 9 and it’s scheduled to be removed in Java 11. Let’s look how to run your application without errors again in two approaches: with and without code modification.
This guide shows you how to setup Spring Boot project using Gradle, and how to create the Hello World application.
This is a solution for an exception occurred when you try to run any gradle task using an outdated Gradle version.