Skip to content

Commit 8425992

Browse files
committed
updating classifier instance
1 parent f0d5865 commit 8425992

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/natural_language_classifier_v1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
# print(json.dumps(natural_language_classifier.create(training_data=training_data, name='weather2'), indent=2))
1515

1616
# replace 47C164-nlc-243 with your classifier id
17-
status = natural_language_classifier.status('47C164-nlc-243')
17+
status = natural_language_classifier.status('c7e487x21-nlc-1063')
1818
print (json.dumps(status, indent=2))
1919

20-
classes = natural_language_classifier.classify('47C164-nlc-243', 'How hot will it be tomorrow?')
20+
classes = natural_language_classifier.classify('c7e487x21-nlc-1063', 'How hot will it be tomorrow?')
2121
print(json.dumps(classes, indent=2))
2222

2323
# example of raising a WatsonException

0 commit comments

Comments
 (0)