Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.

Conversation

Jan21
Copy link

@Jan21 Jan21 commented Mar 29, 2019

Signed-off-by: Jan Hula [email protected]

@@ -79,7 +79,7 @@ def __call__(self, head: RDD):
filename = self.get_bow_file_name(self.filename, i)
BOW() \
.construct(docs, tokens, matrix) \
.save(filename, deps=(self.df,))
.save(filename, series="Bow", deps=(self.df,))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should require "series" argument in __init__, because BowWriter is an implementation of writing the model and it cannot know the specific from the inside.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants