Skip to content

Commit 5d027b4

Browse files
target_type
1 parent 66c6780 commit 5d027b4

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "spotPython"
10-
version = "0.13.6"
10+
version = "0.13.7"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotPython/utils/init.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def fun_control_init(
5353
sigma=0.0,
5454
surrogate=None,
5555
target_column=None,
56+
target_type=None,
5657
task=None,
5758
test=None,
5859
test_seed=1234,
@@ -173,6 +174,8 @@ def fun_control_init(
173174
The surrogate model object. Default is None.
174175
target_column (str):
175176
The name of the target column. Default is None.
177+
target_type (str):
178+
The type of the target column. Default is None.
176179
task (str):
177180
The task to perform. It can be either "classification" or "regression".
178181
Default is None.
@@ -258,6 +261,7 @@ def fun_control_init(
258261
'shuffle': None,
259262
'sigma': 0.0,
260263
'target_column': None,
264+
'target_type': None,
261265
'train': None,
262266
'test': None,
263267
'task': 'classification',
@@ -363,6 +367,7 @@ def fun_control_init(
363367
"spot_tensorboard_path": spot_tensorboard_path,
364368
"spot_writer": spot_writer,
365369
"target_column": target_column,
370+
"target_type": target_type,
366371
"task": task,
367372
"test": test,
368373
"test_seed": test_seed,

0 commit comments

Comments
 (0)