Skip to content

Commit da0d17a

Browse files
authored
Merge pull request #295 from KhiopsML/294-prepare-release-10231
294 prepare release 10231
2 parents 161a4ab + 25a4cc0 commit da0d17a

File tree

3 files changed

+36
-23
lines changed

3 files changed

+36
-23
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66
- Example: 10.2.1.4 is the 5th version that supports khiops 10.2.1.
77
- Internals: Changes in *Internals* sections are unlikely to be of interest for data scientists.
88

9-
## Unreleased
9+
## 10.2.3.1 - 2024-11-26
10+
11+
### Added
12+
- (General) Support for Python 3.13.
13+
14+
### Fixed
15+
- (General) Initialization failing in Conda-based environments.
1016

1117
### Changed
1218
- (`core`) Support for system parameters has been moved from the `KhiopsLocalRunner` to the `core` API.
1319
- (`core`) System parameter `max_memory_mb` has been renamed to `memory_limit_mb`.
1420
- (`core`) System parameter `khiops_temp_dir` has been renamed to `temp_dir`.
1521

1622
### Removed
17-
- (General) pyKhiops 9 compatibility code.
23+
- (General) Khiops Python 9 compatibility.
1824

1925
## 10.2.3.0 - 2024-11-13
2026

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Installation
99
Khiops is better installed with `conda package manager <https://docs.conda.io/en/latest/>`_
1010

1111
.. code-block:: shell
12+
1213
conda install -c conda-forge -c khiops khiops
1314
1415
More details and other install methods are documented at the `Khiops website

khiops/core/api.py

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -724,9 +724,11 @@ def train_predictor(
724724
If this target value is specified then it guarantees the calculation of lift
725725
curves for it.
726726
snb_predictor : bool, default ``True``
727-
If ``True`` it trains a Selective Naive Bayes predictor.
727+
If ``True`` it trains a Selective Naive Bayes predictor. **Deprecated** will be
728+
removed in Khiops 11.
728729
univariate_predictor_number : int, default 0
729-
Number of univariate predictors to train.
730+
Number of univariate predictors to train.**Deprecated** will be removed in
731+
Khiops 11.
730732
map_predictor : bool, default ``False``
731733
If ``True`` trains a Maximum a Posteriori Naive Bayes predictor.
732734
**Deprecated** will be removed in Khiops Python 11.
@@ -762,23 +764,25 @@ def train_predictor(
762764
discretization_method : str
763765
Name of the discretization method. Its valid values depend on the task:
764766
- Supervised: "MODL" (default), "EqualWidth" or "EqualFrequency"
765-
- Unsupervised: "EqualWidth" (default), "EqualFrequency" or "None"
767+
- Unsupervised: "EqualWidth" (default), "EqualFrequency" or "None"
766768
min_interval_frequency : int, default 0
767769
Minimum number of instances in an interval. If equal to 0 it is
768-
automatically calculated.
770+
automatically calculated. **Deprecated** will be removed in Khiops 11.
769771
max_intervals : int, default 0
770772
Maximum number of intervals to construct. If equal to 0 it is automatically
771-
calculated.
773+
calculated. **Deprecated** will be replaced by ``max_parts`` in Khiops 11.
772774
grouping_method : str
773775
Name of the grouping method. Its valid values depend on the task:
774776
- Supervised: "MODL" (default) or "BasicGrouping"
775777
- Unsupervised: "BasicGrouping" (default) or "None"
776778
min_group_frequency : int, default 0
777-
Minimum number of instances for a group.
779+
Minimum number of instances for a group. **Deprecated** will be removed in
780+
Khiops 11.
778781
max_groups : int, default 0
779782
Maximum number of groups. If equal to 0 it is automatically calculated.
783+
**Deprecated** will be replaced by ``max_parts`` in Khiops 11.
780784
results_prefix : str, default ""
781-
Prefix of the result files.
785+
Prefix of the result files. **Deprecated** will be removed in Khiops 11.
782786
... :
783787
See :ref:`core-api-common-params`.
784788
@@ -911,7 +915,7 @@ def evaluate_predictor(
911915
If this target value is specified then it guarantees the calculation of lift
912916
curves for it.
913917
results_prefix : str, default ""
914-
Prefix of the result files.
918+
Prefix of the result files. **Deprecated** will be removed in Khiops 11.
915919
... :
916920
See :ref:`core-api-common-params`.
917921
@@ -1083,14 +1087,14 @@ def train_recoder(
10831087
substantially increase the training time.
10841088
discretization_method : str
10851089
Name of the discretization method. Its valid values depend on the task:
1086-
- Supervised: "MODL" (default), "EqualWidth" or "EqualFrequency".
1087-
- Unsupervised: "EqualWidth" (default), "EqualFrequency" or "None".
1090+
- Supervised: "MODL" (default), "EqualWidth" or "EqualFrequency"
1091+
- Unsupervised: "EqualWidth" (default), "EqualFrequency" or "None"
10881092
min_interval_frequency : int, default 0
1089-
Minimum number of instances in an interval. If equal to 0 it is automatically
1090-
calculated.
1093+
Minimum number of instances in an interval. If equal to 0 it is
1094+
automatically calculated. **Deprecated** will be removed in Khiops 11.
10911095
max_intervals : int, default 0
10921096
Maximum number of intervals to construct. If equal to 0 it is automatically
1093-
calculated.
1097+
calculated. **Deprecated** will be replaced by ``max_parts`` in Khiops 11.
10941098
informative_variables_only : bool, default ``True``
10951099
If ``True`` keeps only informative variables.
10961100
max_variables : int, default 0
@@ -1126,14 +1130,16 @@ def train_recoder(
11261130
- "none": Keeps the variable as-is
11271131
grouping_method : str
11281132
Name of the grouping method. Its vaild values depend on the task:
1129-
- Supervised: "MODL" (default) or "BasicGrouping".
1130-
- Unsupervised: "BasicGrouping" (default) or "None".
1133+
- Supervised: "MODL" (default) or "BasicGrouping"
1134+
- Unsupervised: "BasicGrouping" (default) or "None"
11311135
min_group_frequency : int, default 0
1132-
Minimum number of instances for a group.
1136+
Minimum number of instances for a group. **Deprecated** will be removed in
1137+
Khiops 11.
11331138
max_groups : int, default 0
11341139
Maximum number of groups. If equal to 0 it is automatically calculated.
1140+
**Deprecated** will be replaced by ``max_parts`` in Khiops 11.
11351141
results_prefix : str, default ""
1136-
Prefix of the result files.
1142+
Prefix of the result files. **Deprecated** will be removed in Khiops 11.
11371143
... :
11381144
See :ref:`core-api-common-params`.
11391145
@@ -1250,7 +1256,7 @@ def deploy_model(
12501256
A dictionary containing the output data paths and file paths for a multi-table
12511257
dictionary file. For more details see :doc:`/multi_table_primer`.
12521258
results_prefix : str, default ""
1253-
Prefix of the result files.
1259+
Prefix of the result files. **Deprecated** will be removed in Khiops 11.
12541260
... :
12551261
See :ref:`core-api-common-params`.
12561262
@@ -1549,7 +1555,7 @@ def train_coclustering(
15491555
min_optimization_time : int, default 0
15501556
Minimum optimization time in seconds.
15511557
results_prefix : str, default ""
1552-
Prefix of the result files.
1558+
Prefix of the result files. **Deprecated** will be removed in Khiops 11.
15531559
... :
15541560
See :ref:`core-api-common-params`.
15551561
@@ -1632,7 +1638,7 @@ def simplify_coclustering(
16321638
Dictionary that associate variable names to their maximum number of parts to
16331639
preserve in the simplified coclustering. If not set there is no limit.
16341640
results_prefix : str, default ""
1635-
Prefix of the result files.
1641+
Prefix of the result files. **Deprecated** will be removed in Khiops 11.
16361642
... :
16371643
See :ref:`core-api-common-params`.
16381644
@@ -1717,7 +1723,7 @@ def prepare_coclustering_deployment(
17171723
variables_prefix : str, default ""
17181724
Prefix for the variables in the deployment dictionary.
17191725
results_prefix : str, default ""
1720-
Prefix of the result files.
1726+
Prefix of the result files. **Deprecated** will be removed in Khiops 11.
17211727
... :
17221728
See :ref:`core-api-common-params`.
17231729

0 commit comments

Comments
 (0)