|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.mol.lib.FRParameters
public class FRParameters
Fold recognition parameters. This consists of a vector of FRParametersNodes, and a few general parameters.
Field Summary | |
---|---|
double |
bias
Bias when computing composite scores |
java.util.Vector |
methods
vector of methods and their weights. |
DVector |
scoreMatch
composite score for each match (weighted sum of scores from all methods) |
DVector |
scoreNonMatch
scores for each non-match |
double |
weightLength
How much to weight the length ratio? |
Constructor Summary | |
---|---|
FRParameters()
Create an empty list. |
Method Summary | |
---|---|
void |
addMethod(FRParametersNode frpn)
add a method to the list of parameters. |
boolean |
canEstimateFR()
will this return valid results for estFR*? |
void |
clearEstFRStats()
remove stats for estimating fold recognition accuracy. |
java.lang.String |
defaultEAFileFR()
get the default file name (in the classpath) for fold recognition parameters. |
void |
describe(Printf outfile)
Describe prints parameters of the components, if they support it |
double |
estFRAccy(double score)
Estimate the accuracy of a given prediction, given the composite score. |
void |
loadEstFRStats()
Load the default accuracy stats from a file in the classpath. |
void |
loadEstFRStats(java.io.BufferedReader infile)
Get the FR accuracy stats out of a file. |
void |
loadEstFRStats(java.lang.String filename)
Get the FR accuracy stats out of a file. |
void |
loadEstFRStatsRaw(java.io.BufferedReader infile)
Get the raw FR accuracy stats out of a file. |
void |
loadEstFRStatsRaw(java.lang.String filename)
Get the raw FR accuracy stats out of a file. |
static void |
main(java.lang.String[] argv)
main processes the old raw EA files and re-saves them in the new format. |
FRParametersNode |
method(int i)
Get the ith method |
int |
nMethods()
how many methods are there? |
void |
processFR()
process the FR stats, for speed in estimation. |
void |
saveEstFRStats(Printf outfile)
Save accuracy stats to a file. |
void |
saveEstFRStats(java.lang.String filename)
Save alignment accuracy stats to a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.Vector methods
public double weightLength
public double bias
public DVector scoreMatch
public DVector scoreNonMatch
Constructor Detail |
---|
public FRParameters()
Method Detail |
---|
public java.lang.String defaultEAFileFR()
public double estFRAccy(double score)
public void processFR()
public boolean canEstimateFR()
public void clearEstFRStats()
public void saveEstFRStats(java.lang.String filename) throws java.io.IOException
java.io.IOException
public void saveEstFRStats(Printf outfile) throws java.io.IOException
java.io.IOException
public void loadEstFRStats(java.io.BufferedReader infile) throws java.io.IOException
java.io.IOException
public void loadEstFRStatsRaw(java.io.BufferedReader infile) throws java.io.IOException
java.io.IOException
public void loadEstFRStats(java.lang.String filename) throws java.io.IOException
java.io.IOException
public void loadEstFRStatsRaw(java.lang.String filename) throws java.io.IOException
java.io.IOException
public void loadEstFRStats() throws java.io.IOException
java.io.IOException
public void addMethod(FRParametersNode frpn)
public int nMethods()
public FRParametersNode method(int i)
public void describe(Printf outfile)
describe
in interface Description
public static final void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |