Skip to content

Commit

Permalink
Merge pull request #83 from Alnusjaponica/fix-import-path
Browse files Browse the repository at this point in the history
Fix import path
  • Loading branch information
nabenabe0928 committed Feb 13, 2024
2 parents 33a2d2d + 3f0344d commit 3a6b327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optuna_integration/xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

import optuna

import optuna_integration
from optuna_integration._imports import try_import


use_callback_cls = True

with optuna_integration._imports.try_import() as _imports:
with try_import() as _imports:
import xgboost as xgb

xgboost_version = xgb.__version__.split(".")
Expand Down

0 comments on commit 3a6b327

Please sign in to comment.