|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aliasi.dca.DiscreteObjectChooser<E>
public class DiscreteObjectChooser<E>
A DiscreteObjectChooser provides an implementation of
discrete choice analysis (DCA) over arbitrary objects using a
feature extractor.
The feature extractor is used to map objects to feature maps, and a feature symbol table is used to convert these feature maps into vectors which may be fed into the contained discrete chooser.
Discrete object choosers created by estimation are serializable.
| Constructor Summary | |
|---|---|
DiscreteObjectChooser(FeatureExtractor<E> featureExtractor,
SymbolTable featureSymbolTable,
DiscreteChooser chooser)
Construct a discrete chooser based on the specified feature extractor, feature symbol table, and base chooser. |
|
| Method Summary | ||
|---|---|---|
DiscreteChooser |
chooser()
Returns the discrete chooser on which this object chooser is based. |
|
static
|
estimate(FeatureExtractor<F> featureExtractor,
List<List<F>> alternativeObjectss,
int[] choices,
int minFeatureCount,
RegressionPrior prior,
int priorBlockSize,
AnnealingSchedule annealingSchedule,
double minImprovement,
int minEpochs,
int maxEpochs,
Reporter reporter)
Because intercepts are ignored, they are not added to feature maps and should not be treated as noninformative in the prior. |
|
FeatureExtractor<E> |
featureExtractor()
Return the feature extractor for this chooser. |
|
SymbolTable |
featureSymbolTable()
Returns an unmodifiable view of the feature symbol table underlying this chooser. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscreteObjectChooser(FeatureExtractor<E> featureExtractor,
SymbolTable featureSymbolTable,
DiscreteChooser chooser)
| Method Detail |
|---|
public FeatureExtractor<E> featureExtractor()
public SymbolTable featureSymbolTable()
public DiscreteChooser chooser()
public static <F> DiscreteObjectChooser<F> estimate(FeatureExtractor<F> featureExtractor,
List<List<F>> alternativeObjectss,
int[] choices,
int minFeatureCount,
RegressionPrior prior,
int priorBlockSize,
AnnealingSchedule annealingSchedule,
double minImprovement,
int minEpochs,
int maxEpochs,
Reporter reporter)
Because intercepts are ignored, they are not added to feature maps and should not be treated as noninformative in the prior.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||