public abstract class NXYSignificanceHeuristic extends SignificanceHeuristic
| 修飾子とタイプ | クラスと説明 |
|---|---|
protected static class |
NXYSignificanceHeuristic.Frequencies |
protected static class |
NXYSignificanceHeuristic.NXYBuilder |
static class |
NXYSignificanceHeuristic.NXYParser |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected static ParseField |
BACKGROUND_IS_SUPERSET |
protected boolean |
backgroundIsSuperset |
protected static ParseField |
INCLUDE_NEGATIVES_FIELD |
protected boolean |
includeNegatives
Some heuristics do not differentiate between terms that are descriptive for subset or for
the background without the subset.
|
protected static String |
SCORE_ERROR_MESSAGE |
| コンストラクタと説明 |
|---|
NXYSignificanceHeuristic(boolean includeNegatives,
boolean backgroundIsSuperset) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
checkFrequencies(long subsetFreq,
long subsetSize,
long supersetFreq,
long supersetSize,
String scoreFunctionName) |
protected NXYSignificanceHeuristic.Frequencies |
computeNxys(long subsetFreq,
long subsetSize,
long supersetFreq,
long supersetSize,
String scoreFunctionName) |
boolean |
equals(Object other) |
int |
hashCode() |
void |
writeTo(StreamOutput out) |
checkFrequencyValidity, getScore, initializeprotected static final ParseField BACKGROUND_IS_SUPERSET
protected static final ParseField INCLUDE_NEGATIVES_FIELD
protected static final String SCORE_ERROR_MESSAGE
protected final boolean backgroundIsSuperset
protected final boolean includeNegatives
public NXYSignificanceHeuristic(boolean includeNegatives,
boolean backgroundIsSuperset)
public void writeTo(StreamOutput out) throws IOException
writeTo クラス内 SignificanceHeuristicIOExceptionprotected NXYSignificanceHeuristic.Frequencies computeNxys(long subsetFreq, long subsetSize, long supersetFreq, long supersetSize, String scoreFunctionName)
protected void checkFrequencies(long subsetFreq,
long subsetSize,
long supersetFreq,
long supersetSize,
String scoreFunctionName)
Copyright © 2009–2016. All rights reserved.