1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-16 17:12:20 +08:00

fix naming and code style

This commit is contained in:
Alex Wang
2021-03-24 15:47:26 +08:00
parent 3bf6c7f95f
commit e3739bb980
4 changed files with 27 additions and 16 deletions

View File

@@ -11,8 +11,8 @@ from qlib.data.dataset.handler import DataHandlerLP
import warnings
class HF_LGBModel(ModelFT):
"""LightGBM Model"""
class HFLGBModel(ModelFT):
"""LightGBM Model for high frequency prediction"""
def __init__(self, loss="mse", **kwargs):
if loss not in {"mse", "binary"}: