@Beta public class ClassificationMap<K> extends LinkedHashMap<K,Double> implements Computable
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassificationMap.Type |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
ClassificationMap(ClassificationMap.Type type) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResult() |
ClassificationMap.Type |
getType() |
static <K> void |
normalize(Map<K,Double> map) |
static <K> void |
normalizeSoftMax(Map<K,Double> map) |
static <K> Double |
sum(Map<K,Double> map) |
String |
toString() |
protected com.google.common.base.Objects.ToStringHelper |
toStringHelper() |
clear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCodeprotected ClassificationMap(ClassificationMap.Type type)
public Object getResult()
getResult in interface Computablepublic String toString()
toString in class AbstractMap<K,Double>protected com.google.common.base.Objects.ToStringHelper toStringHelper()
public ClassificationMap.Type getType()
Copyright © 2015. All Rights Reserved.