Interface MatrixBlockFromFrame

  • public interface MatrixBlockFromFrame
    • Field Summary

      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,
                                                int k)
        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.
        frame - frame block
        k - parallelization degree
        matrix block