Closed damian0604 closed 6 years ago
Use a CLF file with a pre-trained classifier to add new keys to fields
Test case:
p = myinca.processing.pretrained('nu','text',path_to_model='/home/damian/Downloads/PasiveAggressive_text.pkl',new_key='topic',save=False) next(p)
Obviously with save=True in case you want to keep it.
save=True
still to do: add documentation how to actually create the .clf file.
Error:
StopIteration Traceback (most recent call last)
Use a CLF file with a pre-trained classifier to add new keys to fields
Test case:
Obviously with
save=True
in case you want to keep it.still to do: add documentation how to actually create the .clf file.