Modifier and Type | Class and Description |
---|---|
static class |
IndianBuffet.IdentityConverter
Just converts to an integer.
|
static class |
IndianBuffet.ImpossibleException |
static class |
IndianBuffet.StringConverter
Converts to a string.
|
static class |
IndianBuffet.WordConverter
Converts to one of a list of common English words for reasonably small integers and converts
to a token like w_92463 for big integers.
|
Constructor and Description |
---|
IndianBuffet(double alpha,
org.apache.mahout.math.random.IndianBuffet.WordFunction<T> converter) |
Modifier and Type | Method and Description |
---|---|
static IndianBuffet<Integer> |
createIntegerDocumentSampler(double alpha) |
static IndianBuffet<String> |
createTextDocumentSampler(double alpha) |
List<T> |
sample() |
public IndianBuffet(double alpha, org.apache.mahout.math.random.IndianBuffet.WordFunction<T> converter)
public static IndianBuffet<Integer> createIntegerDocumentSampler(double alpha)
public static IndianBuffet<String> createTextDocumentSampler(double alpha)
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.