| Package | Description |
|---|---|
| org.apache.mahout.h2obindings | |
| org.apache.mahout.h2obindings.ops |
| Modifier and Type | Method and Description |
|---|---|
static H2ODrm |
H2OHdfs.drmFromFile(String filename,
int parMin)
Create DRM from SequenceFile.
|
static H2ODrm |
H2OHelper.drmFromMatrix(Matrix m,
int minHint,
int exactHint)
Ingest a Mahout Matrix into an H2O DRM.
|
static H2ODrm |
H2OHdfs.drmFromSeqfile(String filename,
int parMin)
Internal method called from
drmFromFile if format verified. |
static H2ODrm |
H2OHelper.emptyDrm(long nrow,
int ncol,
int minHint,
int exactHint)
Create an empty (zero-filled) H2O DRM.
|
| Modifier and Type | Method and Description |
|---|---|
static Matrix |
H2OHelper.allreduceBlock(H2ODrm drmA,
Object bmfn,
Object rfn) |
static void |
H2OHdfs.drmToFile(String filename,
H2ODrm drm)
Create SequenceFile on HDFS from DRM object.
|
static Matrix |
H2OHelper.matrixFromDrm(H2ODrm drm)
Create a Mahout Matrix from a DRM.
|
| Modifier and Type | Method and Description |
|---|---|
static H2ODrm |
AtA.exec(H2ODrm drmA)
Perform A'A operation on a DRM to create a new DRM.
|
static H2ODrm |
At.exec(H2ODrm drmA)
Perform transpose operation on a DRM to create a new DRM.
|
static H2ODrm |
CbindScalar.exec(H2ODrm drmA,
double scalar,
boolean leftbind)
Combine the columns of DRM A with a new column storing
the given scalar.
|
static H2ODrm |
AewScalar.exec(H2ODrm drmA,
double s,
String op)
Perform element-wise operation on a DRM with a Scalar to create a new DRM.
|
static H2ODrm |
Rbind.exec(H2ODrm drmA,
H2ODrm drmB)
Combine the rows of two DRMs A and B to create a new DRM.
|
static H2ODrm |
Cbind.exec(H2ODrm drmA,
H2ODrm drmB)
Combine the columns of two DRMs A and B to create a new DRM.
|
static H2ODrm |
AtB.exec(H2ODrm drmA,
H2ODrm drmB)
Perform A'B operation on two DRMs to create a new DRM.
|
static H2ODrm |
ABt.exec(H2ODrm drmA,
H2ODrm drmB)
Calculate AB' on two DRMs to create a new DRM holding the result.
|
static H2ODrm |
AewB.exec(H2ODrm drmA,
H2ODrm drmB,
String op)
Perform element-wise operation on two DRMs to create a new DRM.
|
static H2ODrm |
Par.exec(H2ODrm drmA,
int min,
int exact)
(re)Parallelize DRM data according to new partitioning hints.
|
static <K,R> H2ODrm |
MapBlock.exec(H2ODrm drmA,
int ncol,
Object bmf,
boolean isRstr,
scala.reflect.ClassTag<K> k,
scala.reflect.ClassTag<R> r)
Execute a BlockMapFunction on DRM partitions to create a new DRM.
|
static H2ODrm |
TimesRightMatrix.exec(H2ODrm drmA,
Matrix B)
Multiply a DRM with an in-core Matrix to create a new DRM.
|
static H2ODrm |
AewUnary.exec(H2ODrm drmA,
Object f,
boolean evalZeros)
Execute a UnaryFunc on each element of a DRM.
|
static H2ODrm |
RowRange.exec(H2ODrm drmA,
scala.collection.immutable.Range R)
Filter rows from intput DRM, to include only row indiced included in R.
|
static H2ODrm |
Ax.exec(H2ODrm drmA,
Vector x)
Perform Ax operation with a DRM and an in-core Vector to create a new DRM.
|
static H2ODrm |
Atx.exec(H2ODrm drmA,
Vector x)
Perform A'x operation with a DRM and an in-core Vector to create a new DRM.
|
| Modifier and Type | Method and Description |
|---|---|
static H2ODrm |
AtA.exec(H2ODrm drmA)
Perform A'A operation on a DRM to create a new DRM.
|
static H2ODrm |
At.exec(H2ODrm drmA)
Perform transpose operation on a DRM to create a new DRM.
|
static H2ODrm |
CbindScalar.exec(H2ODrm drmA,
double scalar,
boolean leftbind)
Combine the columns of DRM A with a new column storing
the given scalar.
|
static H2ODrm |
AewScalar.exec(H2ODrm drmA,
double s,
String op)
Perform element-wise operation on a DRM with a Scalar to create a new DRM.
|
static H2ODrm |
Rbind.exec(H2ODrm drmA,
H2ODrm drmB)
Combine the rows of two DRMs A and B to create a new DRM.
|
static H2ODrm |
Cbind.exec(H2ODrm drmA,
H2ODrm drmB)
Combine the columns of two DRMs A and B to create a new DRM.
|
static H2ODrm |
AtB.exec(H2ODrm drmA,
H2ODrm drmB)
Perform A'B operation on two DRMs to create a new DRM.
|
static H2ODrm |
ABt.exec(H2ODrm drmA,
H2ODrm drmB)
Calculate AB' on two DRMs to create a new DRM holding the result.
|
static H2ODrm |
AewB.exec(H2ODrm drmA,
H2ODrm drmB,
String op)
Perform element-wise operation on two DRMs to create a new DRM.
|
static H2ODrm |
Par.exec(H2ODrm drmA,
int min,
int exact)
(re)Parallelize DRM data according to new partitioning hints.
|
static <K,R> H2ODrm |
MapBlock.exec(H2ODrm drmA,
int ncol,
Object bmf,
boolean isRstr,
scala.reflect.ClassTag<K> k,
scala.reflect.ClassTag<R> r)
Execute a BlockMapFunction on DRM partitions to create a new DRM.
|
static H2ODrm |
TimesRightMatrix.exec(H2ODrm drmA,
Matrix B)
Multiply a DRM with an in-core Matrix to create a new DRM.
|
static H2ODrm |
AewUnary.exec(H2ODrm drmA,
Object f,
boolean evalZeros)
Execute a UnaryFunc on each element of a DRM.
|
static H2ODrm |
RowRange.exec(H2ODrm drmA,
scala.collection.immutable.Range R)
Filter rows from intput DRM, to include only row indiced included in R.
|
static H2ODrm |
Ax.exec(H2ODrm drmA,
Vector x)
Perform Ax operation with a DRM and an in-core Vector to create a new DRM.
|
static H2ODrm |
Atx.exec(H2ODrm drmA,
Vector x)
Perform A'x operation with a DRM and an in-core Vector to create a new DRM.
|
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.