Preprocess
ResourcePreprocessor
dataclass
Bases: ABC
Interface defining a ResourcePreprocessor. Implementors promise to provide both a complete RemoteResource and a freeform preprocess method. This interface can be used to generically define a workflow from a config file.
remote -> prepare -> prepared data.
Source code in bionemo/geneformer/data/preprocess.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
|
get_remote_resources()
abstractmethod
Gets the remote resources associated with this preparor.
Source code in bionemo/geneformer/data/preprocess.py
44 45 46 47 |
|
prepare()
abstractmethod
Returns a list of prepared filenames.
Source code in bionemo/geneformer/data/preprocess.py
49 50 51 52 |
|