Interface MatrixBlockFromFrame


  • public interface MatrixBlockFromFrame
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int blocksizeIJ  
      static org.apache.commons.logging.Log LOG  
    • Field Detail

      • LOG

        static final org.apache.commons.logging.Log LOG
    • Method Detail

      • convertToMatrixBlock

        static MatrixBlock convertToMatrixBlock​(FrameBlock frame)
        Converts a frame block with arbitrary schema into a matrix block. Since matrix block only supports value type double, we do a best effort conversion of non-double types which might result in errors for non-numerical data.
        Parameters:
        frame - frame block
        Returns:
        matrix block