Add сatboost train_dir for tensorboard
This commit is contained in:
parent
b0eff4160f
commit
86c781798a
@ -32,8 +32,9 @@ class CatboostClassifier(BaseClassifierModel):
|
|||||||
)
|
)
|
||||||
|
|
||||||
cbr = CatBoostClassifier(
|
cbr = CatBoostClassifier(
|
||||||
allow_writing_files=False,
|
allow_writing_files=True,
|
||||||
loss_function='MultiClass',
|
loss_function='MultiClass',
|
||||||
|
train_dir=dk.data_path,
|
||||||
**self.model_training_parameters,
|
**self.model_training_parameters,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -41,7 +41,8 @@ class CatboostRegressor(BaseRegressionModel):
|
|||||||
init_model = self.get_init_model(dk.pair)
|
init_model = self.get_init_model(dk.pair)
|
||||||
|
|
||||||
model = CatBoostRegressor(
|
model = CatBoostRegressor(
|
||||||
allow_writing_files=False,
|
allow_writing_files=True,
|
||||||
|
train_dir=dk.data_path,
|
||||||
**self.model_training_parameters,
|
**self.model_training_parameters,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -26,7 +26,8 @@ class CatboostRegressorMultiTarget(BaseRegressionModel):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
cbr = CatBoostRegressor(
|
cbr = CatBoostRegressor(
|
||||||
allow_writing_files=False,
|
allow_writing_files=True,
|
||||||
|
train_dir=dk.data_path,
|
||||||
**self.model_training_parameters,
|
**self.model_training_parameters,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user