Deep learning is a subset of machine learning in Artificial Intelligence (AI) that has networks which are capable of learning unsupervised from data that is unstructured or unlabeled. Also known as Deep Neural Learning or Deep Neural Network.
################################################################################### Deeplearning4j.py# description: A wrapper service for the Deeplearning4j framework.# categories: ai# more info @: http://myrobotlab.org/service/Deeplearning4j################################################################################### start the deeplearning4j service
deeplearning4j = runtime.start('deeplearning4j','Deeplearning4j')# load the VGG16 model from the zoo
deeplearning4j.loadVGG16()# run an image file through the model and get the classifications / confidence
classifications = deeplearning4j.classifyImageFileVGG16("image0-1.png")# print them out... it's a dictionary/map of label to confidence level (between 0-1)for label in classifications:
print(label + " : " + str(classifications.get(label)))