Class ColumnEncoderWordEmbedding

    • Constructor Detail

      • ColumnEncoderWordEmbedding

        public ColumnEncoderWordEmbedding()
    • Method Detail

      • getNrDistinctEmbeddings

        public int getNrDistinctEmbeddings()
      • applyDense

        public void applyDense​(CacheBlock<?> in,
                               MatrixBlock out,
                               int outputCol,
                               int rowStart,
                               int blk)
      • build

        public void build​(CacheBlock<?> in)
        Description copied from interface: Encoder
        Build the transform meta data for the given block input. This call modifies and keeps meta data as encoder state.
        Parameters:
        in - input frame block
      • allocateMetaData

        public void allocateMetaData​(FrameBlock meta)
        Description copied from interface: Encoder
        Pre-allocate a FrameBlock for metadata collection.
        Parameters:
        meta - frame block
      • getMetaData

        public FrameBlock getMetaData​(FrameBlock out)
        Description copied from interface: Encoder
        Construct a frame block out of the transform meta data.
        Parameters:
        out - output frame block
        Returns:
        output frame block?
      • initMetaData

        public void initMetaData​(FrameBlock meta)
        Description copied from interface: Encoder
        Sets up the required meta data for a subsequent call to apply.
        Parameters:
        meta - frame block