We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
>>> from monkeylearn import MonkeyLearn >>> ml = MonkeyLearn('API') >>> res = ml.classifiers.create('Test Classifier') >>> module_id = res.result['classifier']['hashed_id'] >>> res = ml.classifiers.detail(module_id) >>> root_id = res.result['sandbox_categories'][0]['id'] >>> res = ml.classifiers.categories.create(module_id, 'Negative', root_id) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\py34\lib\site-packages\monkeylearn\classification.py", line 20, in ca tegories return Categories(self.token) File "C:\py34\lib\site-packages\monkeylearn\classification.py", line 110, in _ _init__ self.endpoint = CLASSIFICATION_ENDPOINT NameError: name 'CLASSIFICATION_ENDPOINT' is not defined
I using Python 3.4.3 64 bit for windows. Thank you.
The text was updated successfully, but these errors were encountered:
fix #6
Sorry, something went wrong.
Solved, thanks for reporting
No branches or pull requests
I using Python 3.4.3 64 bit for windows. Thank you.
The text was updated successfully, but these errors were encountered: