Solved by ptrblck in post #4 
              
              
                This file should contain the view_classify method. You could either download it again and import the method or copy-paste it to your script.