|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.transform.T1InstanceTransform
public class T1InstanceTransform
Constructor Summary | |
---|---|
T1InstanceTransform()
|
Method Summary | |
---|---|
double |
getNegDelta(Feature f)
Get mu corresponding to the Positive examples of feature f |
double |
getNegMu(Feature f)
Get mu corresponding to the Positive examples of feature f |
double |
getPosDelta(Feature f)
Get mu corresponding to the Positive examples of feature f |
double |
getPosMu(Feature f)
Get mu corresponding to the Positive examples of feature f |
java.util.SortedMap<java.lang.String,java.lang.Number> |
mudelta2np(double mu,
double delta,
double omega)
|
void |
setALPHA(double desiredLevel)
Set ALPHA to the desired level |
void |
setFeaturePdf(Feature f,
java.lang.String pdf)
Set the PDF for feature f |
void |
setMAX_WORDS(int number)
Set MAX_WORDS to the desired number |
void |
setMIN_WORDS(int number)
Set MIN_WORDS to the desired number |
void |
setNegDelta(Feature f,
double delta)
Set mu corresponding to the Positive examples of feature f |
void |
setNegMu(Feature f,
double delta)
Set mu corresponding to the Positive examples of feature f |
void |
setPosDelta(Feature f,
double delta)
Set mu corresponding to the Positive examples of feature f |
void |
setPosMu(Feature f,
double delta)
Set mu corresponding to the Positive examples of feature f |
void |
setSAMPLE(int size)
Set SAMPLE SIZE to the desired level |
void |
setT1(Feature f,
double delta)
Set the value of T1 corresponding to feature f |
double |
T1(int x1,
int x2)
|
Dataset |
transform(Dataset dataset)
Create a transformed copy of a dataset. |
Example |
transform(Example example)
Create a transformed copy of the example. |
Instance |
transform(Instance instance)
Create a transformed copy of the instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public T1InstanceTransform()
Method Detail |
---|
public Instance transform(Instance instance)
transform
in interface InstanceTransform
public Example transform(Example example)
transform
in interface InstanceTransform
public Dataset transform(Dataset dataset)
transform
in interface InstanceTransform
public void setMIN_WORDS(int number)
public void setMAX_WORDS(int number)
public void setSAMPLE(int size)
public void setALPHA(double desiredLevel)
public void setFeaturePdf(Feature f, java.lang.String pdf)
public void setT1(Feature f, double delta)
public void setPosMu(Feature f, double delta)
public double getPosMu(Feature f)
public void setNegMu(Feature f, double delta)
public double getNegMu(Feature f)
public void setPosDelta(Feature f, double delta)
public double getPosDelta(Feature f)
public void setNegDelta(Feature f, double delta)
public double getNegDelta(Feature f)
public double T1(int x1, int x2)
public java.util.SortedMap<java.lang.String,java.lang.Number> mudelta2np(double mu, double delta, double omega)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |