This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Example] Add docstring for test optimizer and test score (#13286)
* update the doc for test_optimizer * add docstring for test_score
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,11 @@ | |
|
||
/*! | ||
* Xin Li [email protected] | ||
* The file is used for testing if the score(accurary) we get | ||
* is better than the threshold we set using mlp model. | ||
* By running: build/test_score 0.75 | ||
* 0.75 here means the threshold score | ||
* It return 0 if we can achieve higher score than threshold, otherwise 1 | ||
*/ | ||
#include <chrono> | ||
#include "utils.h" | ||
|