Skip to content

Commit

Permalink
Merge branch 'master' into fix_auc_metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 authored Mar 3, 2024
2 parents 61d1da8 + 146fe15 commit 256c081
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pycaret/internal/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ def create_logger(
if logger.hasHandlers():
logger.handlers.clear()

path = "logs.log" if isinstance(log, bool) else log
# custom path for logging, if not given, will use local logs.log
logPath = os.getenv("PYCARET_CUSTOM_LOGGING_PATH", "logs.log")
path = logPath if isinstance(log, bool) else log
ch: Optional[Union[logging.FileHandler, logging.NullHandler]] = None
try:
ch = logging.FileHandler(path)
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ plotly-resampler>=0.8.3.1

# Time-series
statsmodels>=0.12.1
sktime~=0.26.0 # 0.26.0 support for scikit-learn 1.4
sktime==0.26.0 # 0.26.0 support for scikit-learn 1.4
tbats>=1.1.3
pmdarima>=2.0.4
pmdarima>=2.0.4

0 comments on commit 256c081

Please sign in to comment.