Image-prediction results

Assuming that the image-prediction application ran successfully, you should see the following results output to the console:

Origin

First Predicted Label

assorted/snowman.jpg

Teddy

assorted/bicycle.jpg

Mountain Bike

assorted/house.jpg

Library

assorted/bus.jpg

Trolley Bus

assorted/banana.jpg

Banana

assorted/pizza.jpg

Pizza

assorted/toilet.jpg

Toilet Seat

assorted/knife.jpg

Cleaver

assorted/apple.jpg

Granny Smith (Apple)

assorted/pen.jpg

Ballpoint

assorted/lion.jpg

Lion

assorted/saxophone.jpg

Saxophone

assorted/zebra.jpg

Zebra

assorted/fork.jpg

Spatula

assorted/car.jpg

Convertible

As you can see, the pretrained Inception-v3 ...

Get Machine Learning with Apache Spark Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.