diff options
author | Peng Wu <alexepico@gmail.com> | 2011-07-28 11:11:39 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-07-28 11:11:39 +0800 |
commit | 9907d860802ea03319ca283f0e7f4737765c5513 (patch) | |
tree | 396292afa2aae9b523f9a3a1a5bcf773a1912eb0 /evaluate.py | |
parent | 499b18a799dd14b3ce584be0848d648400727776 (diff) | |
download | trainer-9907d860802ea03319ca283f0e7f4737765c5513.tar.gz trainer-9907d860802ea03319ca283f0e7f4737765c5513.tar.xz trainer-9907d860802ea03319ca283f0e7f4737765c5513.zip |
add more outputs to tryprune.py
Diffstat (limited to 'evaluate.py')
-rwxr-xr-x | evaluate.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/evaluate.py b/evaluate.py index a609e79..0e99abb 100755 --- a/evaluate.py +++ b/evaluate.py @@ -165,8 +165,7 @@ if __name__ == '__main__': buildData() print('estimating') - reportfile = os.path.join \ - (trydir, 'estimate' + config.getReportPostfix()) + reportfile = os.path.join(trydir, 'estimate' + config.getReportPostfix()) avg_lambda = estimateModel(reportfile) cwdstatus['EvaluateAverageLambda'] = avg_lambda @@ -176,8 +175,7 @@ if __name__ == '__main__': modifyCodeforLambda(avg_lambda) print('evaluating') - reportfile = os.path.join \ - (trydir, 'evaluate' + config.getReportPostfix()) + reportfile = os.path.join(trydir, 'evaluate' + config.getReportPostfix()) rate = evaluateModel(reportfile) print(tryname + "'s correction rate:", rate) |