Description: Compute p-values for a set of kernel k-nearest neighbor cross-validation results.
Usage: kknn-pvalues [options] -summary <filename>
Input:
- -summary <filename> - an RDB file containing a summary of kknn results. The first column contains a class name, and the remaining columns contain the number of true positives (TP), false negatives (FN), true negatives (TN), and false positives (FP), respectively. The file contains one row per class.
Output: A six-column RDB file.
Options:
- -verbose 1|2|3|4|5 - Set the verbosity level of the output to stderr. The default level is 2.
- -K - The number of nearest neighboring points used to classify a given point. By default, K=1 which is simply nearest neighbor. For K > 1, classes of the K nearest points are tallied and the majority class is the prediction. In the event of a 'tie' K is iteratively reduced until the tie is broken.
- -noformatline - Usually, RDB formatted files contain column width information on the second line of the file. With this option, the program does not expect a format line in the input files and does not produce a format line in the output file.