set_unlabeled_data_preprocess
code_loader.leap_binder.set_unlabeled_data_preprocess
code_loader.leap_binder.set_unlabeled_data_preprocess(
function=Callable[[], PreprocessResponse]
)Args
Examples
Basic Usage
from code_loader import leap_binder
from code_loader.contract.datasetclasses import PreprocessingResponse
# Preprocessing Function
def unlabeled_preprocessing_func() -> PreprocessingResponse:
...
return PreprocessingResponse(length=len(unlabeled_df), data=unlabeled_df)
leap_binder.set_unlabeled_data_preprocess(function=unlabeled_preprocessing_func)Guides
Last updated
Was this helpful?

