Remove catboost stdout workaround

https://github.com/catboost/catboost/issues/2195 is fixed, so this SHOULD work
This commit is contained in:
Matthias 2024-05-16 07:25:49 +02:00
parent 19d6ce5446
commit c06ae41fed
4 changed files with 0 additions and 12 deletions

View File

@ -1,5 +1,4 @@
import logging
import sys
from pathlib import Path
from typing import Any, Dict
@ -57,8 +56,6 @@ class CatboostClassifier(BaseClassifierModel):
X=train_data,
eval_set=test_data,
init_model=init_model,
log_cout=sys.stdout,
log_cerr=sys.stderr,
)
return cbr

View File

@ -1,5 +1,4 @@
import logging
import sys
from pathlib import Path
from typing import Any, Dict
@ -68,8 +67,6 @@ class CatboostClassifierMultiTarget(BaseClassifierModel):
{
"eval_set": eval_sets[i],
"init_model": init_models[i],
"log_cout": sys.stdout,
"log_cerr": sys.stderr,
}
)

View File

@ -1,5 +1,4 @@
import logging
import sys
from pathlib import Path
from typing import Any, Dict
@ -56,8 +55,6 @@ class CatboostRegressor(BaseRegressionModel):
X=train_data,
eval_set=test_data,
init_model=init_model,
log_cout=sys.stdout,
log_cerr=sys.stderr,
)
return model

View File

@ -1,5 +1,4 @@
import logging
import sys
from pathlib import Path
from typing import Any, Dict
@ -67,8 +66,6 @@ class CatboostRegressorMultiTarget(BaseRegressionModel):
{
"eval_set": eval_sets[i],
"init_model": init_models[i],
"log_cout": sys.stdout,
"log_cerr": sys.stderr,
}
)