Skip to content

Commit

Permalink
Merge pull request #312 from snipsco/hotfix/validate-dataset-in-parti…
Browse files Browse the repository at this point in the history
…al-fit

Hotfix/validate dataset in partial fit
  • Loading branch information
ClemDoum authored Jun 26, 2017
2 parents 26b4f4a + 0f306ce commit dca2be3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion snips_nlu/__version__
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.8
0.8.9
1 change: 1 addition & 0 deletions snips_nlu/nlu_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def fit(self, dataset, intents=None):
return self

def get_fitted_tagger(self, dataset, intent):
dataset = validate_and_format_dataset(dataset)
intent_custom_entities = get_intent_custom_entities(dataset, intent)
features = crf_features(intent_custom_entities, self.language)
tagger = CRFTagger(default_crf_model(), features, TaggingScheme.BIO,
Expand Down

0 comments on commit dca2be3

Please sign in to comment.