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.
There are at least two ways to create ConcurrentHashSet in Java. One of them works in Java 8 or newer. The second one works fine for older Java releses.
In this post, I present the steps that allow you to hide or change the mouse cursor shape in the entire JavaFX application. You will find solutions for the problems that I have encountered so far by implementing the requirement. In particular, you will learn how you can detect and porform the change of the cursor in the WebView control. (more…)