ibm-watson-cognitive Get a list of custom classifiers


Example

This lists all of the custom classifiers you have trained.

'use strict';

let watson = require('watson-developer-cloud');

var visualRecognition = watson.visual_recognition({
  version: 'v3',
  api_key: process.env['API_KEY'],
  version_date:'2016-05-19'
});


let url = "https://upload.wikimedia.org/wikipedia/commons/1/1c/Chris_Evans_filming_Captain_America_in_DC_cropped.jpg"

visualRecognition.classify({url: url}, function(error, results) {
  console.log(JSON.stringify(results,null,2));
});