Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,17 @@ def train(
self._cui_context_matrix = None
self.number_of_batches = 0

def train_unsupervised(self, doc: MutableDocument) -> None:
"""Train unsupervised based on the given document.

If this component doesn't support unsupervised training,
this method can be a no-op.

Args:
doc (MutableDocument): The document to train on.
"""
pass

@classmethod
def create_new_component(
cls,
Expand Down
Loading