org.itc.irst.tcc.sre
Class Predict

java.lang.Object
  extended by org.itc.irst.tcc.sre.Predict

public class Predict
extends java.lang.Object

TO DO

Since:
1.0
Version:
%I%, %G%
Author:
Claudio Giuliano

Field Summary
private  java.io.File inputFile
           
private  java.lang.String kernel
           
(package private) static org.apache.log4j.Logger logger
          Define a static logger variable so that it references the Logger instance named Predict.
private  java.io.File modelFile
           
private  java.io.File outputFile
           
private  java.util.Properties parameter
           
private  int relationType
           
 
Constructor Summary
Predict(java.io.File inputFile, java.io.File modelFile, java.io.File outputFile)
           
 
Method Summary
private static java.lang.String getHelp()
          Returns a command-line help.
static void main(java.lang.String[] args)
           
private  ExampleSet readDataSet(java.io.File in)
           
private  FeatureIndex[] readFeatureIndex(int subspaceCount, UnZipModel model)
           
private  void readParameters(UnZipModel model)
           
 void run()
           
private  java.io.File saveExampleSet(ExampleSet outputSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
Define a static logger variable so that it references the Logger instance named Predict.


inputFile

private java.io.File inputFile

modelFile

private java.io.File modelFile

outputFile

private java.io.File outputFile

kernel

private java.lang.String kernel

relationType

private int relationType

parameter

private java.util.Properties parameter
Constructor Detail

Predict

public Predict(java.io.File inputFile,
               java.io.File modelFile,
               java.io.File outputFile)
Method Detail

readParameters

private void readParameters(UnZipModel model)
                     throws java.io.IOException
Throws:
java.io.IOException

readDataSet

private ExampleSet readDataSet(java.io.File in)
                        throws java.io.IOException
Throws:
java.io.IOException

readFeatureIndex

private FeatureIndex[] readFeatureIndex(int subspaceCount,
                                        UnZipModel model)
                                 throws java.io.IOException
Throws:
java.io.IOException

saveExampleSet

private java.io.File saveExampleSet(ExampleSet outputSet)
                             throws java.io.IOException
Throws:
java.io.IOException

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getHelp

private static java.lang.String getHelp()
Returns a command-line help. return a command-line help.