uk.ac.leeds.ccg.andyt.projects.moses.process
Class RegressionReport_UK1
java.lang.Object
uk.ac.leeds.ccg.andyt.projects.moses.io.WebContentHandler
uk.ac.leeds.ccg.andyt.projects.moses.process.RegressionReport
uk.ac.leeds.ccg.andyt.projects.moses.process.RegressionReport_UK1
public class RegressionReport_UK1
- extends RegressionReport
A class for generating maps comparing CAS data with IndividualCensus outputs
in the form of regression plots.
Method Summary |
protected static java.util.TreeMap<java.lang.String,double[]> |
loadCASOptimistaionConstraints(java.io.File dataFile)
|
protected static java.lang.Object[] |
loadDataHSARHP_ISARCEP(java.io.File a_SARFile,
java.io.File a_CASFile)
|
protected static java.lang.Object[] |
loadDataISARHP_ISARCEP(java.io.File a_SAR_File,
java.io.File a_CAS_File)
|
static void |
main(java.lang.String[] args)
|
void |
outputImagesHSARHP_ISARCEP(java.io.File a_SAR_File,
java.io.File a_CAS_File,
java.io.File outputDirectory,
int chartWidth,
int chartHeight)
|
void |
outputImagesISARHP_ISARCEP(java.io.File a_SAR_File,
java.io.File a_CAS_File,
java.io.File outputDirectory,
int chartWidth,
int chartHeight)
|
void |
run()
|
void |
runHSARHP_ISARCEP()
|
void |
runHSARHP_ISARCEP(java.lang.String _Type,
java.lang.String _ErrorFunction)
|
void |
runISARHP_ISARCEP()
|
void |
runISARHP_ISARCEP(java.lang.String _Type,
java.lang.String _ErrorFunction)
|
void |
runOA(java.lang.String baseURL,
java.lang.String directoryCASObserved,
java.lang.String directory,
java.lang.String filenamePrefix,
java.lang.String filenameSuffix,
java.lang.String aOutputName,
int int_MainBodyControlSwitch)
|
void |
writeAggregateStatisticsForOptimisationConstraints_HSARHP_ISARCEP(java.lang.String a_OutputDir_String)
|
void |
writeAggregateStatisticsForOptimisationConstraints_ISARHP_ISARCEP(java.lang.String a_OutputDir_String)
|
void |
writeCASOptimisationConstraintsHSARHP_ISARCEP(java.lang.String a_OutputDir_String)
|
void |
writeCASOptimisationConstraintsISARHP_ISARCEP(java.lang.String a_OutputDir_String)
|
void |
writeHTMLBodyMain(byte[] _LineSeparator,
java.lang.String _BaseURL,
java.lang.String filenamePrefix,
java.lang.String filenameSuffix,
java.io.FileOutputStream a_FileOutputStream,
int int_MainBodyControlSwitch)
|
void |
writeHTMLBodyMain(byte[] _LineSeparator,
java.net.URL _BaseURL,
java.io.FileOutputStream a_FileOutputStream)
|
void |
writeHTMLBodyMain1(byte[] _LineSeparator,
java.lang.String _BaseURL,
java.lang.String filenamePrefix,
java.lang.String filenameSuffix,
java.io.FileOutputStream a_FileOutputStream)
|
void |
writeHTMLBodyMain1(byte[] _LineSeparator,
java.net.URL _BaseURL,
java.io.FileOutputStream a_FileOutputStream)
|
void |
writeOutResidualsHSARHP_ISARCEP(java.io.File observed_File,
java.io.File expected_File)
|
void |
writeOutResidualsISARHP_ISARCEP(java.io.File observed_File,
java.io.File expected_File)
|
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.WebContentHandler |
writeHTML, writeHTML, writeHTMLBody, writeHTMLBody, writeHTMLBodyFooter, writeHTMLBodyFooter, writeHTMLBodyStart, writeHTMLBodyStart, writeHTMLDTD, writeHTMLHead, writeHTMLHead |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegressionReport_UK1
public RegressionReport_UK1()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Parameters:
args
- the command line arguments
- Throws:
java.lang.Exception
run
public void run()
throws java.lang.Exception
- Throws:
java.lang.Exception
runISARHP_ISARCEP
public void runISARHP_ISARCEP()
throws java.lang.Exception
- Throws:
java.lang.Exception
runHSARHP_ISARCEP
public void runHSARHP_ISARCEP()
throws java.lang.Exception
- Throws:
java.lang.Exception
runISARHP_ISARCEP
public void runISARHP_ISARCEP(java.lang.String _Type,
java.lang.String _ErrorFunction)
throws java.lang.Exception
- Throws:
java.lang.Exception
runHSARHP_ISARCEP
public void runHSARHP_ISARCEP(java.lang.String _Type,
java.lang.String _ErrorFunction)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadCASOptimistaionConstraints
protected static java.util.TreeMap<java.lang.String,double[]> loadCASOptimistaionConstraints(java.io.File dataFile)
throws java.io.IOException
- Throws:
java.io.IOException
loadDataISARHP_ISARCEP
protected static java.lang.Object[] loadDataISARHP_ISARCEP(java.io.File a_SAR_File,
java.io.File a_CAS_File)
throws java.io.IOException
- Parameters:
a_SAR_File
- a_CAS_File
-
- Returns:
- Object[] result where;
result[0] is a String[] of variable names
result[1] is a double[number of variables][no of data items]
of a_SAR_data
result[2] is a double[number of variables][no of data items]
of a_CAS_data
- Throws:
java.io.IOException
loadDataHSARHP_ISARCEP
protected static java.lang.Object[] loadDataHSARHP_ISARCEP(java.io.File a_SARFile,
java.io.File a_CASFile)
throws java.io.IOException
- Throws:
java.io.IOException
writeCASOptimisationConstraintsISARHP_ISARCEP
public void writeCASOptimisationConstraintsISARHP_ISARCEP(java.lang.String a_OutputDir_String)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeCASOptimisationConstraintsHSARHP_ISARCEP
public void writeCASOptimisationConstraintsHSARHP_ISARCEP(java.lang.String a_OutputDir_String)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeAggregateStatisticsForOptimisationConstraints_ISARHP_ISARCEP
public void writeAggregateStatisticsForOptimisationConstraints_ISARHP_ISARCEP(java.lang.String a_OutputDir_String)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeAggregateStatisticsForOptimisationConstraints_HSARHP_ISARCEP
public void writeAggregateStatisticsForOptimisationConstraints_HSARHP_ISARCEP(java.lang.String a_OutputDir_String)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeOutResidualsISARHP_ISARCEP
public void writeOutResidualsISARHP_ISARCEP(java.io.File observed_File,
java.io.File expected_File)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeOutResidualsHSARHP_ISARCEP
public void writeOutResidualsHSARHP_ISARCEP(java.io.File observed_File,
java.io.File expected_File)
throws java.lang.Exception
- Throws:
java.lang.Exception
outputImagesHSARHP_ISARCEP
public void outputImagesHSARHP_ISARCEP(java.io.File a_SAR_File,
java.io.File a_CAS_File,
java.io.File outputDirectory,
int chartWidth,
int chartHeight)
throws java.lang.Exception
- Throws:
java.lang.Exception
outputImagesISARHP_ISARCEP
public void outputImagesISARHP_ISARCEP(java.io.File a_SAR_File,
java.io.File a_CAS_File,
java.io.File outputDirectory,
int chartWidth,
int chartHeight)
throws java.lang.Exception
- Throws:
java.lang.Exception
runOA
public void runOA(java.lang.String baseURL,
java.lang.String directoryCASObserved,
java.lang.String directory,
java.lang.String filenamePrefix,
java.lang.String filenameSuffix,
java.lang.String aOutputName,
int int_MainBodyControlSwitch)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeHTMLBodyMain
public void writeHTMLBodyMain(byte[] _LineSeparator,
java.net.URL _BaseURL,
java.io.FileOutputStream a_FileOutputStream)
throws java.io.IOException
- Specified by:
writeHTMLBodyMain
in class WebContentHandler
- Throws:
java.io.IOException
writeHTMLBodyMain
public void writeHTMLBodyMain(byte[] _LineSeparator,
java.lang.String _BaseURL,
java.lang.String filenamePrefix,
java.lang.String filenameSuffix,
java.io.FileOutputStream a_FileOutputStream,
int int_MainBodyControlSwitch)
throws java.io.IOException
- Specified by:
writeHTMLBodyMain
in class WebContentHandler
- Throws:
java.io.IOException
writeHTMLBodyMain1
public void writeHTMLBodyMain1(byte[] _LineSeparator,
java.lang.String _BaseURL,
java.lang.String filenamePrefix,
java.lang.String filenameSuffix,
java.io.FileOutputStream a_FileOutputStream)
throws java.io.IOException
- Throws:
java.io.IOException
writeHTMLBodyMain1
public void writeHTMLBodyMain1(byte[] _LineSeparator,
java.net.URL _BaseURL,
java.io.FileOutputStream a_FileOutputStream)
throws java.io.IOException
- Throws:
java.io.IOException