For this recipe, refer to the t-SNE visualization example found at: //github.com/PacktPublishing/Java-Deep-Learning-Cookbook/blob/master/05_Implementing_NLP/sourceCode/cookbookapp/src/main/java/com/javadeeplearningcookbook/examples/TSNEVisualizationExample.java.
The example generates t-SNE plots in a CSV file.