-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
echo on | ||
@Rem model name(linear, fm, ffm, gbdt, gbmlr, gbsdt, gbhmlr, gbhsdt, multiclass_linear) | ||
set model_name=??? | ||
|
||
set config_path=config/model/%model_name%.conf | ||
|
||
@Rem data file for predicting | ||
set file_name=??? | ||
|
||
@Rem train/test line python transform switch & script | ||
set transform="false" | ||
set transform_script_path=bin/transform.py | ||
|
||
@Rem result save mode: PREDICT_RESULT_ONLY, LABEL_AND_PREDICT, PREDICT_AS_FEATURE | ||
set resultSaveMode=PREDICT_RESULT_ONLY | ||
set resultFileSuffix=_%model_name%_%resultSaveMode% | ||
|
||
@Rem max error data format tolerate number | ||
set max_error_tol=100 | ||
|
||
set eval_metric="auc,mae" | ||
|
||
@Rem value or leafid | ||
set predict_type=value | ||
|
||
@start /b cmd /c java -Xmx1000m -XX:-OmitStackTraceInFastThrow -cp lib/* -Dlog4j.configuration=file:config/log4j.properties com.fenbi.ytklearn.predictor.Predicts %config_path% %model_name% %file_name% %transform% %transform_script_path% %resultSaveMode% %resultFileSuffix% %max_error_tol% %eval_metric% %predict_type% | ||
|
||
pause |
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