drepr.models.preprocessing#
Classes
|
A special instance that is accessible when user defined function is called to allow access to other information such as the index of the current item, or the nearby items. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class POutput(resource_id: Optional[str], attr: Optional[str], attr_path: Optional[drepr.models.path.Path])[source]#
Bases:
object
- class PMap(resource_id: str, path: drepr.models.path.Path, code: str, output: Optional[drepr.models.preprocessing.POutput] = None, change_structure: Optional[bool] = None)[source]#
Bases:
object- Parameters:
- class PFilter(resource_id: str, path: drepr.models.path.Path, code: str, output: Optional[drepr.models.preprocessing.POutput] = None)[source]#
Bases:
object
- class PSplit(resource_id: str, path: drepr.models.path.Path, code: str, output: Optional[drepr.models.preprocessing.POutput] = None)[source]#
Bases:
object
- class RMapFunc(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum- Dict2Items = 'dict2items'#
- class RMap(resource_id: str, path: drepr.models.path.Path, func_id: drepr.models.preprocessing.RMapFunc, output: Optional[drepr.models.preprocessing.POutput] = None)[source]#
Bases:
object
- class PreprocessingType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum- pmap = 'pmap'#
- pfilter = 'pfilter'#
- psplit = 'psplit'#
- rmap = 'rmap'#
- class Preprocessing(type: drepr.models.preprocessing.PreprocessingType, value: Union[drepr.models.preprocessing.PMap, drepr.models.preprocessing.PFilter, drepr.models.preprocessing.PSplit, drepr.models.preprocessing.RMap])[source]#
Bases:
object- type: PreprocessingType#