|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjncc20.PredFeat
public class PredFeat
RESEARCH FEATURE, NOT TO BE RELEASED Scans a data set and reports the frequencies of the classes, given the joint configuration of the features, thus providing indications about the predictive power of the different configurations
Field Summary | |
---|---|
private java.util.ArrayList<double[]> |
ConfigurationList
Each array stores the joint frequencies of features and classes arranged as follows: feature values, class, frequency |
private java.util.ArrayList<java.lang.String> |
FeatureNames
Names of input features |
private java.util.ArrayList<java.lang.Integer> |
Frequencies
|
private java.util.ArrayList<double[]> |
RawDataset
Copy of the data read from Arff file (having hence -9999 as marker for missing data), and category names substituted by the corresponding indexes.) |
private java.lang.String |
UserArffFile
|
private java.lang.String |
WorkingPath
Path where the files for the given experiment (Arff files, NonMar.txt) are found, and where output files will be saved. |
Constructor Summary | |
---|---|
PredFeat()
|
Method Summary | |
---|---|
private void |
checkSuppliedArguments(java.lang.String[] SuppliedArguments)
|
private void |
frequenciesToFile()
outputs to file the joint frequencies, for a given data set |
static void |
main(java.lang.String[] args)
|
private void |
readArffFile(java.lang.String UserSuppliedArffName)
Reads Arff file using AParser class |
private void |
scanRawDataset()
Stores into FrequenciesMap the frequency of each row of the dataset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.ArrayList<double[]> ConfigurationList
private java.util.ArrayList<java.lang.String> FeatureNames
private java.util.ArrayList<java.lang.Integer> Frequencies
private java.util.ArrayList<double[]> RawDataset
private java.lang.String UserArffFile
private java.lang.String WorkingPath
Constructor Detail |
---|
public PredFeat()
Method Detail |
---|
private void checkSuppliedArguments(java.lang.String[] SuppliedArguments)
private void frequenciesToFile()
public static void main(java.lang.String[] args)
args
- private void readArffFile(java.lang.String UserSuppliedArffName)
private void scanRawDataset()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |