Using a Jupyter Notebook
You can view and execute the R or Python code for this solution in a Jupyter Notebook by following these instructions.
Start Jupyter Notebook
Open a Powershell or Terminal window and execute the following:
cd c:\Solutions\ImageSimilarity\Python
jupyter notebook
After a moment, the browser window will open. Select the ML Server
kernel for the Python notebook.
You can execute the Train Model notebook to train a model. Since a model has already been built, you can also skip to the Test Model notebook find similar images for a new image. Try this out with one of the images in the notebook or try an image of your own.
Using Jupyter
To execute the code in a cell, Shift+Enter
when your cursor is in the cell. Some of the cells may take a minute or two to work, and must be complete before the next cell can execute. You can also select the Cell>Run All
menu item to execute the entire notebook.