Interface | Description |
---|---|
PathLabelGenerator |
PathLabelGenerator: interface to infer the label of a file directly from the path of a file
Example: /negative/file17.csv -> class "0"; /positive/file116.csv -> class "1" etc. Though note that the output is a writable, hence it need not be numerical. |
Class | Description |
---|---|
ParentPathLabelGenerator |
Returns as label the base name of the parent file of the path (the directory).
|
PatternPathLabelGenerator |
Returns a label derived from the base name of the path.
|