Package org.apache.mahout.h2obindings.drm

Examples of org.apache.mahout.h2obindings.drm.H2ODrm


        }
      }
    }.doAll(At);

    // At is NOT similarly partitioned as A, drop labels
    return new H2ODrm(At);
  }
View Full Code Here


      writer.close(closer);
    }

    closer.blockForPending();

    return new H2ODrm(frame, labels);
  }
View Full Code Here

   * @param minHint Hint for minimum number of chunks per column in created Frame.
   * @param exactHint Hint for exact number of chunks per column in created Frame.
   * @return Created DRM.
   */
  public static H2ODrm emptyDrm(long nrow, int ncol, int minHint, int exactHint) {
    return new H2ODrm(emptyFrame(nrow, ncol, minHint, exactHint));
  }
View Full Code Here

          }
        }
      }.doAll(ABt_cols, A).outputFrame(null, null);

    // Carry forward labels of A blindly into ABt
    return new H2ODrm(ABt, keys);
  }
View Full Code Here

        }
      }
    }.doAll(AtB);

    // AtB is NOT similarly partitioned as A, drop labels
    return new H2ODrm(AtB);
  }
View Full Code Here

        }
      }
    }.doAll(AtA);

    // AtA is NOT similarly partitioned as A, drop labels
    return new H2ODrm(AtA);
  }
View Full Code Here

      // If so, peel it out into a separate Vec (vmap) and set fmap to be the
      // Frame with just the first ncol Vecs
      vmap = fmap.vecs()[ncol];
      fmap = new Frame(Arrays.copyOfRange(fmap.vecs(), 0, ncol));
    }
    return new H2ODrm(fmap, vmap);
  }
View Full Code Here

TOP

Related Classes of org.apache.mahout.h2obindings.drm.H2ODrm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.