Base Workflow

Module Contents#

class relevanceai.workflow.base.Workflow(func: Callable, workflow_alias: str, notes: Optional[str] = None)#

Base Workflow. A workflow is useful for measuring what you did with a dataset. By adding an alias, you allow it to continue running even when it errors.

fit_dataset(self, dataset: relevanceai.dataset.Dataset, input_field: str, output_field: str, filters: Optional[list] = None, log_to_file: bool = True, chunksize: int = 20, chunk_field: Optional[str] = None, log_file: Optional[str] = None, refresh: bool = False)#

Fit on dataset