Package | Description |
---|---|
org.deeplearning4j.clustering.randomprojection |
Modifier and Type | Method and Description |
---|---|
static void |
RPUtils.buildTree(RPTree tree,
RPNode from,
RPHyperPlanes planes,
INDArray X,
int maxSize,
int depth,
String similarityFunction)
Initialize the tree given the input parameters
|
static void |
RPUtils.scanForLeaves(List<RPNode> nodes,
RPTree scan)
Scan for leaves accumulating
the nodes in the passed in list
|
Modifier and Type | Method and Description |
---|---|
static INDArray |
RPUtils.getAllCandidates(INDArray x,
List<RPTree> trees,
String similarityFunction)
Get the search candidates as indices given the input
and similarity function
|
static List<Integer> |
RPUtils.getCandidates(INDArray x,
List<RPTree> roots,
String similarityFunction)
Get the search candidates as indices given the input
and similarity function
|
static INDArray |
RPUtils.queryAll(INDArray toQuery,
INDArray X,
List<RPTree> trees,
int n,
String similarityFunction)
Query all trees using the given input and data
|
static List<Pair<Double,Integer>> |
RPUtils.queryAllWithDistances(INDArray toQuery,
INDArray X,
List<RPTree> trees,
int n,
String similarityFunction)
Query all trees using the given input and data
|
Constructor and Description |
---|
RPNode(RPTree tree,
int depth) |
Copyright © 2020. All rights reserved.