diff options
author | mutantturkey <mutantturke@gmail.com> | 2012-10-24 09:52:45 -0400 |
---|---|---|
committer | mutantturkey <mutantturke@gmail.com> | 2012-10-24 09:52:45 -0400 |
commit | ade7d29b7158fb83517fd254265b866a6992efb4 (patch) | |
tree | 45d0539c3971bf869dad5378d2d2f588bb82e490 /fly-tools/std-deviation | |
parent | 0944dd461b920e97b6a5213e3b487f71f55c061a (diff) |
swap our output columns to fit our feature vector (mean first, std-dev second)
Diffstat (limited to 'fly-tools/std-deviation')
-rw-r--r-- | fly-tools/std-deviation/StandardDeviation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fly-tools/std-deviation/StandardDeviation.cpp b/fly-tools/std-deviation/StandardDeviation.cpp index 1d29d91..f2668ba 100644 --- a/fly-tools/std-deviation/StandardDeviation.cpp +++ b/fly-tools/std-deviation/StandardDeviation.cpp @@ -58,7 +58,7 @@ int main(int argc, char* argv[]) { exit(0); } - outputFile << left << setw(30) << "File Name" << left << setw(20) << "Standard deviation" << left << setw(20) << "Mean" << endl; + outputFile << left << setw(20) << "File Name" << left << setw(20) << "Mean" << left << setw(20) << "Standard Deviation" << endl; while( inputFileNames >> currentFileName ) { @@ -103,7 +103,7 @@ int main(int argc, char* argv[]) { standardDev = sumSquaredResults/(N-1); standardDev = sqrt(standardDev); - outputFile<<left<<setw(30)<<currentFileName<<left<<setw(20)<<standardDev<<left<<setw(20)<<mean<<endl; + outputFile<<left<<setw(20)<<currentFileName<<left<<setw(20)<<mean<<left<<setw(20)<<standardDev<<endl; currentFile.close(); } |