Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/rtd/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
# -- Project information -----------------------------------------------------

project = 'MLPro Documentations'
copyright = '2024 South Westphalia University of Applied Sciences, Germany'
copyright = '2025 South Westphalia University of Applied Sciences, Germany'
author = 'Detlef Arend, Steve Yuwono, Laxmikant Shrikant Baheti et al'

# The full version, including alpha/beta/rc tags
release = '1.0.0'
release = '1.0.1'


# -- General configuration ---------------------------------------------------
Expand Down Expand Up @@ -85,4 +85,4 @@ def setup(app):
'github_user': 'fhswf',
'github_repo': 'MLPro-Int-Optuna',
'github_version': 'main/doc/docs/',
}
}
2 changes: 1 addition & 1 deletion doc/rtd/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mlpro[full]>=1.4.0
mlpro[full]>=2.1.0
optuna>=3.4.0

sphinxcontrib-napoleon
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mlpro[full] >= 1.4.0
optuna >= 3.4.0
mlpro[full] >= 2.1.0
optuna >= 3.4.0
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = mlpro_int_optuna
version = 1.0.0
version = 1.0.1
author = MLPro Team
author_email = mlpro@listen.fh-swf.de
description = MLPro: Integration Optuna
Expand All @@ -18,13 +18,13 @@ classifiers =
package_dir =
= src
packages = find:
python_requires = >=3.10
python_requires = >=3.11
include_package_data = True

[options.packages.find]
where = src

[options.extras_require]
full =
mlpro[full] >= 1.4.0
mlpro[full] >= 2.1.0
optuna >= 3.4.0
2 changes: 1 addition & 1 deletion src/mlpro_int_optuna/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from mlpro_int_optuna.wrappers import WrHPTOptuna
from .wrappers import *
2 changes: 1 addition & 1 deletion src/mlpro_int_optuna/wrappers/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from mlpro_int_optuna.wrappers.optuna import WrHPTOptuna
from .optuna import *
10 changes: 8 additions & 2 deletions src/mlpro_int_optuna/wrappers/optuna.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
## -- 2022-10-17 1.1.1 SY Refactoring due to unit test
## -- 2024-01-31 2.0.0 LSB Migrated Optuna to new repo MLPro-Int-Optuna
## -- 2024-04-18 2.1.0 DA Alignment with MLPro 1.4.0
## -- 2025-08-03 2.1.1 SY Refactoring
## -------------------------------------------------------------------------------------------------

"""
Ver. 2.1.0. (2024-04-18)
Ver. 2.1.1 (2025-08-03)

This module provides a wrapper class for hyperparameter tuning by reusing Optuna framework.

Expand All @@ -26,13 +27,18 @@

import optuna
from mlpro.wrappers import Wrapper
from mlpro.bf import *
from mlpro.bf.ml import *
from mlpro.bf.math import *
from mlpro.bf.data import *
from mlpro.bf.various import *
from mlpro.rl.models import *
from mlpro.rl import *
from mlpro.gt import *
import os

# Export list for public API
__all__ = ['WrHPTOptuna']


## -------------------------------------------------------------------------------------------------
## -------------------------------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


setup(name='mlpro_int_optuna',
version='1.0.0',
version='1.0.1',
description='MLPro: Integration Optuna',
author='MLPro Team',
author_mail='mlpro@listen.fh-swf.de',
Expand All @@ -12,9 +12,9 @@
# Package dependencies for full installation
extras_require={
"full": [
"mlpro>=1.4.0",
"mlpro>=2.1.0",
"optuna>=3.4.0"
],
},

zip_safe=False)
zip_safe=False)
6 changes: 6 additions & 0 deletions test/howtos/rl/howto_rl_ht_001_optuna.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@
from mlpro_int_optuna import WrHPTOptuna
from mlpro.rl.pool.envs.bglp import BGLP
from mlpro.rl import *
from mlpro.bf import *
from mlpro.bf.math import *
from mlpro.bf.systems import *
from mlpro.bf.plot import *
from mlpro.bf.ml import *
import random
from pathlib import Path
import numpy as np


## -------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion test/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

import sys
import os
from mlpro.bf.various import Log
from mlpro.bf import *
import runpy
import pytest

Expand Down
Loading