MLContext
@Deprecated public class MLMatrix extends org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>
Modifier and Type | Field and Description |
---|---|
protected MatrixCharacteristics |
mc
Deprecated.
|
protected MLContext |
ml
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
MLMatrix(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> df,
MatrixCharacteristics mc,
MLContext ml)
Deprecated.
|
protected |
MLMatrix(org.apache.spark.sql.SparkSession sparkSession,
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan logicalPlan,
MLContext ml)
Deprecated.
|
protected |
MLMatrix(org.apache.spark.sql.SparkSession sparkSession,
org.apache.spark.sql.execution.QueryExecution queryExecution,
MLContext ml)
Deprecated.
|
protected |
MLMatrix(org.apache.spark.sql.SQLContext sqlContext,
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan logicalPlan,
MLContext ml)
Deprecated.
|
protected |
MLMatrix(org.apache.spark.sql.SQLContext sqlContext,
org.apache.spark.sql.execution.QueryExecution queryExecution,
MLContext ml)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MLMatrix |
$bang$eq(Double scalar)
Deprecated.
|
MLMatrix |
$bang$eq(MLMatrix that)
Deprecated.
|
MLMatrix |
$div(Double scalar)
Deprecated.
|
MLMatrix |
$div(MLMatrix that)
Deprecated.
|
MLMatrix |
$eq$eq(Double scalar)
Deprecated.
|
MLMatrix |
$eq$eq(MLMatrix that)
Deprecated.
|
MLMatrix |
$greater(Double scalar)
Deprecated.
|
MLMatrix |
$greater(MLMatrix that)
Deprecated.
|
MLMatrix |
$greater$eq(Double scalar)
Deprecated.
|
MLMatrix |
$greater$eq(MLMatrix that)
Deprecated.
|
MLMatrix |
$less(Double scalar)
Deprecated.
|
MLMatrix |
$less(MLMatrix that)
Deprecated.
|
MLMatrix |
$less$eq(Double scalar)
Deprecated.
|
MLMatrix |
$less$eq(MLMatrix that)
Deprecated.
|
MLMatrix |
$minus(Double scalar)
Deprecated.
|
MLMatrix |
$minus(MLMatrix that)
Deprecated.
|
MLMatrix |
$percent$div$percent(MLMatrix that)
Deprecated.
|
MLMatrix |
$percent$percent(MLMatrix that)
Deprecated.
|
MLMatrix |
$percent$times$percent(MLMatrix that)
Deprecated.
|
MLMatrix |
$plus(Double scalar)
Deprecated.
|
MLMatrix |
$plus(MLMatrix that)
Deprecated.
|
MLMatrix |
$times(Double scalar)
Deprecated.
|
MLMatrix |
$times(MLMatrix that)
Deprecated.
|
MLMatrix |
$up(MLMatrix that)
Deprecated.
|
MLMatrix |
add(Double scalar)
Deprecated.
|
MLMatrix |
add(MLMatrix that)
Deprecated.
|
int |
colsPerBlock()
Deprecated.
|
MLMatrix |
divide(Double scalar)
Deprecated.
|
MLMatrix |
divide(MLMatrix that)
Deprecated.
|
MLMatrix |
elementWiseMultiply(Double scalar)
Deprecated.
|
MLMatrix |
elementWiseMultiply(MLMatrix that)
Deprecated.
|
MLMatrix |
exp(MLMatrix that)
Deprecated.
|
MLMatrix |
integerDivision(MLMatrix that)
Deprecated.
|
MLMatrix |
minus(Double scalar)
Deprecated.
|
MLMatrix |
minus(MLMatrix that)
Deprecated.
|
MLMatrix |
modulus(MLMatrix that)
Deprecated.
|
MLMatrix |
multiply(MLMatrix that)
Deprecated.
|
long |
numCols()
Deprecated.
Gets or computes the number of columns.
|
long |
numRows()
Deprecated.
Gets or computes the number of rows.
|
int |
rowsPerBlock()
Deprecated.
|
MLMatrix |
transpose()
Deprecated.
|
void |
write(String filePath,
String format)
Deprecated.
Convenient method to write a MLMatrix.
|
agg, agg, agg, agg, agg, alias, alias, apply, as, as, as, cache, checkpoint, checkpoint, coalesce, col, collect, collectAsList, collectToPython, columns, count, createGlobalTempView, createOrReplaceTempView, createTempView, crossJoin, cube, cube, cube, cube, describe, describe, distinct, drop, drop, drop, drop, dropDuplicates, dropDuplicates, dropDuplicates, dropDuplicates, dropDuplicates, dtypes, except, explain, explain, explode, explode, exprEnc, filter, filter, filter, filter, first, flatMap, flatMap, foreach, foreach, foreachPartition, foreachPartition, groupBy, groupBy, groupBy, groupBy, groupByKey, groupByKey, head, head, inputFiles, intersect, isLocal, isStreaming, javaRDD, javaToPython, join, join, join, join, join, join, joinWith, joinWith, limit, logicalPlan, map, map, mapPartitions, mapPartitions, mapPartitionsInR, na, numericColumns, ofRows, orderBy, orderBy, orderBy, orderBy, org$apache$spark$sql$Dataset$$aggregatableColumns, org$apache$spark$sql$Dataset$$boundEnc, org$apache$spark$sql$Dataset$$classTag, org$apache$spark$sql$Dataset$$collect, org$apache$spark$sql$Dataset$$createTempViewCommand, org$apache$spark$sql$Dataset$$execute$1, org$apache$spark$sql$Dataset$$hasSideEffects$1, org$apache$spark$sql$Dataset$$rowFunction$1, org$apache$spark$sql$Dataset$$withPlan, persist, persist, printSchema, queryExecution, randomSplit, randomSplit, randomSplit, randomSplitAsList, rdd, reduce, reduce, registerTempTable, repartition, repartition, repartition, repartition, repartition, resolve, rollup, rollup, rollup, rollup, sample, sample, schema, select, select, select, select, select, select, select, select, select, selectExpr, selectExpr, selectUntyped, show, show, show, show, show, showString, showString$default$2, sort, sort, sort, sort, sortWithinPartitions, sortWithinPartitions, sortWithinPartitions, sortWithinPartitions, sparkSession, sqlContext, stat, storageLevel, take, takeAsList, toDF, toDF, toDF, toJavaRDD, toJSON, toLocalIterator, toPythonIterator, toString, transform, union, unionAll, unpersist, unpersist, where, where, withColumn, withColumn, withColumnRenamed, withNewExecutionId, withWatermark, write, writeStream
protected MatrixCharacteristics mc
protected MLContext ml
protected MLMatrix(org.apache.spark.sql.SparkSession sparkSession, org.apache.spark.sql.catalyst.plans.logical.LogicalPlan logicalPlan, MLContext ml)
protected MLMatrix(org.apache.spark.sql.SQLContext sqlContext, org.apache.spark.sql.catalyst.plans.logical.LogicalPlan logicalPlan, MLContext ml)
protected MLMatrix(org.apache.spark.sql.SparkSession sparkSession, org.apache.spark.sql.execution.QueryExecution queryExecution, MLContext ml)
protected MLMatrix(org.apache.spark.sql.SQLContext sqlContext, org.apache.spark.sql.execution.QueryExecution queryExecution, MLContext ml)
protected MLMatrix(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> df, MatrixCharacteristics mc, MLContext ml) throws DMLRuntimeException
DMLRuntimeException
public void write(String filePath, String format) throws IOException, DMLException
filePath
- the file pathformat
- the formatIOException
- if IOException occursDMLException
- if DMLException occurspublic long numRows() throws IOException, DMLException
IOException
- if IOException occursDMLException
- if DMLException occurspublic long numCols() throws IOException, DMLException
IOException
- if IOException occursDMLException
- if DMLException occurspublic int rowsPerBlock()
public int colsPerBlock()
public MLMatrix $greater(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $less(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $greater$eq(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $less$eq(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $eq$eq(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $bang$eq(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $up(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix exp(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $plus(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix add(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $minus(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix minus(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $times(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix elementWiseMultiply(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $div(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix divide(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $percent$div$percent(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix integerDivision(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $percent$percent(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix modulus(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix $percent$times$percent(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix multiply(MLMatrix that) throws IOException, DMLException
IOException
DMLException
public MLMatrix transpose() throws IOException, DMLException
IOException
DMLException
public MLMatrix $plus(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix add(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $minus(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix minus(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $times(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix elementWiseMultiply(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $div(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix divide(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $greater(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $less(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $greater$eq(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $less$eq(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $eq$eq(Double scalar) throws IOException, DMLException
IOException
DMLException
public MLMatrix $bang$eq(Double scalar) throws IOException, DMLException
IOException
DMLException
Copyright © 2017 The Apache Software Foundation. All rights reserved.