Package | Description |
---|---|
org.apache.flink.ml.classification.knn | |
org.apache.flink.ml.linalg | |
org.apache.flink.ml.linalg.typeinfo |
Modifier and Type | Field and Description |
---|---|
DenseMatrix |
KnnModelData.packedFeatures |
Constructor and Description |
---|
KnnModelData(DenseMatrix packedFeatures,
DenseVector featureNormSquares,
DenseVector labels) |
Modifier and Type | Method and Description |
---|---|
static void |
BLAS.gemv(double alpha,
DenseMatrix matrix,
boolean transMatrix,
DenseVector x,
double beta,
DenseVector y)
y = alpha * matrix * x + beta * y or y = alpha * (matrix^T) * x + beta * y.
|
Modifier and Type | Method and Description |
---|---|
DenseMatrix |
DenseMatrixSerializer.copy(DenseMatrix from) |
DenseMatrix |
DenseMatrixSerializer.copy(DenseMatrix from,
DenseMatrix reuse) |
DenseMatrix |
DenseMatrixSerializer.createInstance() |
DenseMatrix |
DenseMatrixSerializer.deserialize(org.apache.flink.core.memory.DataInputView source) |
DenseMatrix |
DenseMatrixSerializer.deserialize(DenseMatrix reuse,
org.apache.flink.core.memory.DataInputView source) |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix> |
DenseMatrixTypeInfo.createSerializer(org.apache.flink.api.common.ExecutionConfig executionConfig) |
org.apache.flink.api.common.typeinfo.TypeInformation<DenseMatrix> |
DenseMatrixTypeInfoFactory.createTypeInfo(Type t,
Map<String,org.apache.flink.api.common.typeinfo.TypeInformation<?>> genericParameters) |
Class<DenseMatrix> |
DenseMatrixTypeInfo.getTypeClass() |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<DenseMatrix> |
DenseMatrixSerializer.snapshotConfiguration() |
Modifier and Type | Method and Description |
---|---|
DenseMatrix |
DenseMatrixSerializer.copy(DenseMatrix from) |
DenseMatrix |
DenseMatrixSerializer.copy(DenseMatrix from,
DenseMatrix reuse) |
DenseMatrix |
DenseMatrixSerializer.deserialize(DenseMatrix reuse,
org.apache.flink.core.memory.DataInputView source) |
void |
DenseMatrixSerializer.serialize(DenseMatrix matrix,
org.apache.flink.core.memory.DataOutputView target) |
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.