pypi optuna 4.3.0
v4.3.0

16 days ago

This is the release note of v4.3.0.

Highlights

This has various bug fixes and improvements to the documentation and more.

Breaking Changes

Enhancements

  • Accept custom objective in LightGBMTuner (optuna/optuna-integration#203, thanks @sawa3030!)
  • Improve time complexity of IntersectionSearchSpace (#5982, thanks @GittyHarsha!)
  • Add _prev_waiting_trial_number in InMemoryStorage to improve the efficiency of _pop_waiting_trial_id (#5993, thanks @sawa3030!)
  • Add arguments of versions to convert_positional_args (#6009, thanks @fusawa-yugo!)
  • Add wait_server_ready method in GrpcStorageProxy (#6010, thanks @hitsgub!)
  • Remove warning messages for Matplotlib-based plot_contour and plot_rank (#6011)
  • Fix type checking in optuna._callbacks.py (#6030)
  • Enhance SBXCrossover (#6008, thanks @hrntsm!)

Bug Fixes

  • Convert storage into InMemoryStorage before copying to the local (optuna/optuna-integration#213)
  • Fix contour plot of matplotlib (#5892, thanks @fusawa-yugo!)
  • Fix threading lock logic (#5922)
  • Use _LazyImport for grpcio package (#5954)
  • Prevent Lock Blocking by Adding Timeout to JournalStorage (#5971, thanks @sawa3030!)
  • Fix a minor bug in GPSampler for objective that returns inf (#5995)
  • Fix a bug that a gRPC server doesn't work with JournalStorage (#6004, thanks @fusawa-yugo!)
  • Fix _pop_waiting_trial_id for finished trial (#6012)
  • Resolve the issue where BruteForceSampler fails to suggest all combinations (#5893)

Documentation

Examples

Tests

Code Fixes

  • Add BaseGASampler (#5864)
  • Fix comments in pyproject.toml (#5972)
  • Remove FirstTrialOnlyRandomSampler (#5973, thanks @mehakmander11!)
  • Remove _check_and_set_param_distribution (#5975, thanks @siddydutta!)
  • Remove testing/distributions.py (#5977, thanks @mehakmander11!)
  • Remove _StudyInfo's param_distribution in _cached_storage.py (#5978, thanks @tarunprabhu11!)
  • Introduce UpdateFinishedTrialError to raise an error when attempting to modify a finished trial (#6001, thanks @sawa3030!)
  • Deprecate consider_prior in TPESampler (#6005, thanks @sawa3030!)
  • Improve Code Readability by Following PEP8 Standards (#6006, thanks @sawa3030!)
  • Made error message for create_study's direction easier to understand optuna.study (#6021, thanks @sinano1107!)

Continuous Integration

Other

Thanks to All the Contributors!

This release was made possible by the authors and the people who participated in the reviews and discussions.

@Alnusjaponica, @GittyHarsha, @HideakiImamura, @ParagEkbote, @c-bata, @contramundum53, @ffineis, @fusawa-yugo, @gen740, @hitsgub, @hrntsm, @kAIto47802, @ktns, @mehakmander11, @nabenabe0928, @not522, @nzw0301, @porink0424, @sawa3030, @siddydutta, @sinano1107, @tarunprabhu11, @toshihikoyanase, @y0z

Don't miss a new optuna release

NewReleases is sending notifications on new releases.