You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
H2O-3 does its best to keep backwards compatibility between major versions, but sometimes breaking changes are needed in order to improve code quality and to address issues. This section provides a list of current breaking changes between specific releases.
5
5
6
6
From 3.32.0.1
7
-
~~~~~~~~~~~~~
7
+
-------------
8
8
9
9
Modules
10
-
'''''''
10
+
~~~~~~~
11
11
12
12
The deprecated ``h2o-scala`` module has been removed.
13
13
14
14
Target Encoding
15
-
'''''''''''''''
15
+
~~~~~~~~~~~~~~~
16
16
17
-
The Target Encoder API has been clarified and its consistency across clients has been improved:
17
+
The Target Encoder API has been clarified and its consistency across clients has been improved. The following parameters are now deprecated in all clients and officially replaced by their new alternative:
18
18
19
-
The following parameters are now deprecated in all clients and officially replaced by their new alternative:
Legacy client code using the deprecated parameters should expect a deprecation warning when using them, they are strongly encouraged to update their code to use the new naming.
24
+
Legacy client code using the deprecated parameters should expect a deprecation warning when using them. You are strongly encouraged to update your code to use the new naming.
25
+
26
+
``transform`` parameter updates
27
+
'''''''''''''''''''''''''''''''
28
+
29
+
In an objective of performance optimization on the backend, and of simplification of the API, the ``transform`` method used to apply target encoding was modified as follows:
26
30
27
-
In an objective of performance optimization on the backend, and of simplification of the API, the ``transform`` method used to apply target encoding was modified as follow.
28
31
- The R ``h2o.transform`` function (accepting a target encoder model as the first argument) and the Python ``H2OTargetEncoderEstimator.transform`` methods are now fully compatible: they accept the same parameters and work consistently.
29
-
- The parameters ``data_leakage_handling``, ``seed`` are now ignored on those methods: ``transform`` will use by default the corresponding values defined when building the TargetEncoder model.
32
+
- The parameters ``data_leakage_handling``, ``seed`` are now ignored on those methods: by default, ``transform`` will use the corresponding values defined when building the TargetEncoder model.
30
33
- The other regularization parameters on these ``transform`` methods (e.g. ``noise``, ``blending``, ``inflection_point``, ``smoothing``), always default to the value defined on the TargetEncoder model.
31
34
- A new ``as_training`` parameter has been introduced to simplify and enforce a correct usage of target encoding:
32
35
33
-
- When transforming a training dataset, user should use (R) ``h2o.transform(te_model, train_dataset, as_training=TRUE)`` or (Python) ``te_model.transform(train_dataset, as_training=True)``.
34
-
- When transforming any other dataset (validation, test, ...), user can just use (R) ``h2o.transform(te_model, train_dataset)`` or (Python) ``te_model.transform(train_dataset)``.
36
+
- When transforming a training dataset, you should use (R) ``h2o.transform(te_model, train_dataset, as_training=TRUE)`` or (Python) ``te_model.transform(train_dataset, as_training=True)``.
37
+
- When transforming any other dataset (validation, test, ...), you can just use (R) ``h2o.transform(te_model, train_dataset)`` or (Python) ``te_model.transform(train_dataset)``.
35
38
- Legacy code using for example ``h2o.transform(te_model, train_dataset, data_leakage_handling="KFold")`` will now be translated internally to ``h2o.transform(te_model, train_dataset, as_training=TRUE)``.
36
39
37
40
38
-
Finally the following APIs, deprecated since 3.28, have been fully removed:
41
+
Finally the following APIs (deprecated since 3.28) have been fully removed:
42
+
39
43
- Python: ``h2o.targetencoder`` module.
40
44
- R: ``h2o.target_encode_fit`` and ``h2o.target_encode_transform`` functions.
41
45
42
46
Parameters
43
-
''''''''''
44
-
The ``max_hit_ratio_k`` param has been removed.
47
+
~~~~~~~~~~
48
+
49
+
The ``max_hit_ratio_k`` parameter has been removed.
45
50
46
51
From 3.30.1.2
47
-
~~~~~~~~~~~~~
52
+
-------------
48
53
49
-
The ``max_hit_ratio_k`` param is deprecated in version 3.30.1.2 and will be completely removed in the next major version, 3.32.0.1.
54
+
The ``max_hit_ratio_k`` parameter is deprecated in version 3.30.1.2 and will be completely removed in the next major version, 3.32.0.1.
50
55
51
56
From 3.30.1.1
52
-
~~~~~~~~~~~~~
57
+
-------------
53
58
54
59
The deprecated ``h2o-scala`` module has been removed.
55
60
56
61
57
62
From 3.30.0.5
58
-
~~~~~~~~~~~~~
63
+
-------------
59
64
60
65
The ``h2o-scala`` module is deprecated in version 3.30.0.5 and will be completely removed in the next major version, 3.30.1.1.
61
66
62
67
63
68
From 3.30.0.4
64
-
~~~~~~~~~~~~~
69
+
-------------
65
70
66
71
The following options are no longer supported by native `XGBoost <https://xgboost.readthedocs.io/en/latest/parameter.html>`__ and have been removed.
67
72
68
73
- ``min_sum_hessian_in_leaf``
69
74
- ``min_data_in_leaf``
70
75
71
76
72
-
From 3.28 or Below to 3.30
73
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
77
+
From 3.28 or below to 3.30
78
+
--------------------------
74
79
75
80
Java API
76
-
''''''''
81
+
~~~~~~~~
77
82
78
-
``hex.grid.HyperSpaceWalker`` and ``hex.grid.HyperspaceWalker.HyperSpaceIterator`` interfaces have been simplified.
79
-
Users implementing those interfaces directly, for example to create a custom grid search exploration algorithm, may want to look at the default implementations in **h2o-core/src/main/java/hex/grid/HyperSpaceWalker.java** if they are facing any issue when compiling against the new interfaces.
83
+
The ``hex.grid.HyperSpaceWalker`` and ``hex.grid.HyperspaceWalker.HyperSpaceIterator`` interfaces have been simplified. Users implementing those interfaces directly, for example to create a custom grid search exploration algorithm, may want to look at the default implementations in ``h2o-core/src/main/java/hex/grid/HyperSpaceWalker.java`` if they are facing any issue when compiling against the new interfaces.
80
84
81
85
82
-
From 3.26 or Below to 3.28
83
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
86
+
From 3.26 or below to 3.28
87
+
--------------------------
84
88
85
89
Java API
86
-
''''''''
90
+
~~~~~~~~
87
91
88
92
The following classes were moved:
89
93
@@ -96,11 +100,11 @@ The following classes were moved:
0 commit comments