mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Remove catboost stdout workaround
https://github.com/catboost/catboost/issues/2195 is fixed, so this SHOULD work
This commit is contained in:
parent
19d6ce5446
commit
c06ae41fed
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user