ibm-watson-cognitive Get information about a specific custom classifier


Example

This returns information about a specific classifier ID you have trained. This includes information about its current status (i.e., if it is ready or not).

'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'
});


visualRecognition.getClassifier({classifier_id: 'DogBreeds_1162972348'}, function(error, results) {
  console.log(JSON.stringify(results,null,2));
});