Speed up class-oriented narrative models
Closed this issue · 0 comments
PinchOfData commented
Gains of speed are to be found for
- NarrativeModel.train(): cdist() is a costly operation, perhaps call it by batches rather than one phrase at a time
- NarrativeModel.predict(): cdist() is a costly operation, perhaps call it by batches rather than one phrase at a time