mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 23:36:54 +08:00
add finetune example & fix serial bug
This commit is contained in:
@@ -45,3 +45,18 @@ class Model(BaseModel):
|
||||
dataset will generate the processed dataset from model training
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
class ModelFT(Model):
|
||||
'''Model (F)ine(t)unable'''
|
||||
|
||||
@abc.abstractmethod
|
||||
def finetune(self, dataset: Dataset):
|
||||
"""finetune model based given dataset
|
||||
|
||||
Parameters
|
||||
----------
|
||||
dataset : Dataset
|
||||
dataset will generate the processed dataset from model training
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
Reference in New Issue
Block a user