1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-14 00:06:58 +08:00

Format code with the latest version of black.

This commit is contained in:
Charles Young
2021-02-22 11:25:42 +08:00
parent 2f9d45e03a
commit 37871389b9
41 changed files with 526 additions and 116 deletions

View File

@@ -29,7 +29,9 @@ class XGBModel(Model):
):
df_train, df_valid = dataset.prepare(
["train", "valid"], col_set=["feature", "label"], data_key=DataHandlerLP.DK_L,
["train", "valid"],
col_set=["feature", "label"],
data_key=DataHandlerLP.DK_L,
)
x_train, y_train = df_train["feature"], df_train["label"]
x_valid, y_valid = df_valid["feature"], df_valid["label"]