Skip to content

Commit

Permalink
Fix classifier create algorithm default
Browse files Browse the repository at this point in the history
  • Loading branch information
brusteca committed Oct 17, 2019
1 parent 6579d6e commit a180123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion monkeylearn/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def delete(self, model_id, retry_if_throttled=True):
response = self.make_request('DELETE', url, retry_if_throttled=retry_if_throttled)
return MonkeyLearnResponse(response)

def create(self, name, description='', algorithm='svc', language='en', max_features=10000,
def create(self, name, description='', algorithm='svm', language='en', max_features=10000,
ngram_range=(1, 2), use_stemming=True, preprocess_numbers=True,
preprocess_social_media=False, normalize_weights=True, stopwords=True,
whitelist=None, retry_if_throttled=True):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='monkeylearn',
version='3.5.0',
version='3.5.1',
author='MonkeyLearn',
author_email='[email protected]',
description='Official Python client for the MonkeyLearn API',
Expand Down

0 comments on commit a180123

Please sign in to comment.