Main class
- org.deeplearning4j.ReviewsClassifier
Gets a sentiment from the tex sample (IMDB review).
From each review we create Object, then feed it to the model and label this item as positive or negative.
String text = FileUtils.readFileToString(files[1]);
Review review = new Review(model.prepareFeatures(text), model, text);
Main class
- org.deeplearning4j.AnimalsClassifier
Main class
- org.deeplearning4j.ImagesClassifier
Main class
- org.deeplearning4j.IrisClassifier