Package | Description |
---|---|
org.nd4j.linalg.primitives |
Modifier and Type | Method and Description |
---|---|
Pair<F,S> |
CounterMap.argMax()
This method returns pair of elements with a max value
|
static <T,E> Pair<T,E> |
Pair.create(T key,
E value) |
static <T,E> Pair<T,E> |
Pair.makePair(T key,
E value) |
static <T,E> Pair<T,E> |
Pair.of(T key,
E value) |
static <T,E> Pair<T,E> |
Pair.pairOf(T key,
E value) |
Modifier and Type | Method and Description |
---|---|
PriorityQueue<Pair<T,Double>> |
Counter.asPriorityQueue() |
PriorityQueue<Pair<T,Double>> |
Counter.asReversedPriorityQueue() |
Iterator<Pair<F,S>> |
CounterMap.getIterator()
This method returns Iterator of all first/second pairs stored in this counter
|
Modifier and Type | Method and Description |
---|---|
int |
Counter.PairComparator.compare(Pair<T,Double> o1,
Pair<T,Double> o2) |
int |
Counter.PairComparator.compare(Pair<T,Double> o1,
Pair<T,Double> o2) |
int |
Counter.ReversedPairComparator.compare(Pair<T,Double> o1,
Pair<T,Double> o2) |
int |
Counter.ReversedPairComparator.compare(Pair<T,Double> o1,
Pair<T,Double> o2) |
Copyright © 2017. All rights reserved.