Class StringListToIndicesNDArrayTransform

    • Constructor Detail

      • StringListToIndicesNDArrayTransform

        public StringListToIndicesNDArrayTransform​(String columnName,
                                                   List<String> vocabulary,
                                                   String delimiter,
                                                   boolean binary,
                                                   boolean ignoreUnknown)
        Parameters:
        columnName - The name of the column to convert
        vocabulary - The possible tokens that may be present.
        delimiter - The delimiter for the Strings to convert
        ignoreUnknown - Whether to ignore unknown tokens
      • StringListToIndicesNDArrayTransform

        public StringListToIndicesNDArrayTransform​(String columnName,
                                                   String newColumnName,
                                                   List<String> vocabulary,
                                                   String delimiter,
                                                   boolean binary,
                                                   boolean ignoreUnknown)