Interface PathLabelGenerator

    • Method Detail

      • getLabelForPath

        Writable getLabelForPath​(URI uri)
      • inferLabelClasses

        boolean inferLabelClasses()
        If true: infer the set of possible label classes, and convert these to integer indexes. If when true, the returned Writables should be text writables.

        For regression use cases (or PathLabelGenerator classification instances that do their own label -> integer assignment), this should return false.
        Returns:
        whether label classes should be inferred