@@ -494,6 +494,10 @@ def export_dictionary_as_json(
494494 ----------
495495 dictionary_file_path_or_domain : str or `.DictionaryDomain`
496496 Path of a Khiops dictionary file or a DictionaryDomain object.
497+ json_dictionary_file_path : str
498+ Path (absolute path recommended) to the output dictionary file,
499+ in the JSON format. Note that a relative path will produce a file in
500+ the current working directory which may not be the desired location.
497501 ... :
498502 See :ref:`core-api-common-params`.
499503
@@ -538,7 +542,9 @@ def build_dictionary_from_data_table(
538542 output_dictionary_name : str
539543 Name dictionary to be created.
540544 output_dictionary_file_path : str
541- Path of the output dictionary file.
545+ Path (absolute path recommended) of the output dictionary file. Note that
546+ a relative path will produce a file in the current working directory which
547+ may not be the desired location.
542548 detect_format : bool, default ``True``
543549 If ``True`` detects automatically whether the data table file has a header and
544550 its field separator. It is set to ``False`` if ``header_line`` or
@@ -700,9 +706,11 @@ def train_predictor(
700706 constructs a classifier and if it is numerical a regressor. If equal to "" it
701707 performs an unsupervised analysis.
702708 analysis_report_file_path : str
703- Path to the analysis report file in the JSON format. An additional dictionary
704- file with the same name and extension ``.model.kdic`` is built, which contains
705- the trained models.
709+ Path (absolute path recommended) to the analysis report file,
710+ in the JSON format. An additional dictionary file with the same name and
711+ extension ``.model.kdic`` is built, which contains the trained models.
712+ Note that a relative path will produce a report file in the current working
713+ directory which may not be the desired location.
706714 detect_format : bool, default ``True``
707715 If ``True`` detects automatically whether the data table file has a header and
708716 its field separator. It is set to ``False`` if ``header_line`` or
@@ -1010,7 +1018,9 @@ def evaluate_predictor(
10101018 data_table_path : str
10111019 Path of the evaluation data table file.
10121020 evaluation_report_file_path : str
1013- Path to the evaluation report file, in the JSON format.
1021+ Path (absolute path recommended) to the evaluation report file,
1022+ in the JSON format. Note that a relative path will produce a report file in
1023+ the current working directory which may not be the desired location.
10141024 detect_format : bool, default ``True``
10151025 If ``True`` detects automatically whether the data table file has a header and
10161026 its field separator. It is set to ``False`` if ``header_line`` or
@@ -1146,9 +1156,11 @@ def train_recoder(
11461156 target_variable : str
11471157 Name of the target variable. If equal to "" it trains an unsupervised recoder.
11481158 analysis_report_file_path : str
1149- Path to the analysis report file in the JSON format. An additional dictionary
1150- file with the same name and extension ``.model.kdic`` is built, which contains
1151- the trained recoding model.
1159+ Path (absolute path recommended) to the analysis report file,
1160+ in the JSON format. An additional dictionary file with the same name and
1161+ extension ``.model.kdic`` is built, which contains the trained recoding model.
1162+ Note that a relative path will produce a report file in the current working
1163+ directory which may not be the desired location.
11521164 detect_format : bool, default ``True``
11531165 If ``True`` detects automatically whether the data table file has a header and
11541166 its field separator. It is set to ``False`` if ``header_line`` or
@@ -1338,7 +1350,9 @@ def deploy_model(
13381350 data_table_path : str
13391351 Path of the data table file.
13401352 output_data_table_path : str
1341- Path of the output data file.
1353+ Path (absolute path recommended) of the output data file. Note that a
1354+ relative path will produce a file in the current working directory which
1355+ may not be the desired location.
13421356 detect_format : bool, default ``True``
13431357 If ``True`` detects automatically whether the data table file has a header and
13441358 its field separator. It is set to ``False`` if ``header_line`` or
@@ -1424,7 +1438,9 @@ def build_deployed_dictionary(
14241438 dictionary_name : str
14251439 Name of the dictionary to be analyzed.
14261440 output_dictionary_file_path : str
1427- Path of the output dictionary file.
1441+ Path (absolute path recommended) of the output dictionary file. Note that
1442+ a relative path will produce a file in the current working directory which
1443+ may not be the desired location.
14281444 ... :
14291445 See :ref:`core-api-common-params`.
14301446
@@ -1480,7 +1496,9 @@ def sort_data_table(
14801496 data_table_path : str
14811497 Path of the data table file.
14821498 output_data_table_path : str
1483- Path of the output data file.
1499+ Path (absolute path recommended) of the output data file. Note that a
1500+ relative path will produce a file in the current working directory which
1501+ may not be the desired location.
14841502 sort_variables : list of str, optional
14851503 The names of the variables to sort. If not set sorts the table by its key.
14861504 detect_format : bool, default ``True``
@@ -1555,7 +1573,9 @@ def extract_keys_from_data_table(
15551573 data_table_path : str
15561574 Path of the data table file.
15571575 output_data_table_path : str
1558- Path of the output data file.
1576+ Path (absolute path recommended) of the output data file. Note that a
1577+ relative path will produce a file in the current working directory which
1578+ may not be the desired location.
15591579 detect_format : bool, default ``True``
15601580 If ``True`` detects automatically whether the data table file has a header and
15611581 its field separator. It is set to ``False`` if ``header_line`` or
@@ -1634,7 +1654,9 @@ def train_coclustering(
16341654 coclustering_variables : list of str
16351655 The names of variables to use in coclustering. Min length: 2. Max length: 10.
16361656 coclustering_report_file_path : str
1637- Path to the coclustering report file in the JSON format.
1657+ Path (absolute path recommended) to the coclustering report file,
1658+ in the JSON format. Note that a relative path will produce a report file in
1659+ the current working directory which may not be the desired location.
16381660 detect_format : bool, default ``True``
16391661 If ``True`` detects automatically whether the data table file has a header and
16401662 its field separator. It is set to ``False`` if ``header_line`` or
@@ -1745,7 +1767,9 @@ def train_instance_variable_coclustering(
17451767 data_table_path : str
17461768 Path of the data table file.
17471769 coclustering_report_file_path : str
1748- Path to the coclustering report file in the JSON format.
1770+ Path (absolute path recommended) to the coclustering report file,
1771+ in the JSON format. Note that a relative path will produce a report file in
1772+ the current working directory which may not be the desired location.
17491773 detect_format : bool, default ``True``
17501774 If ``True`` detects automatically whether the data table file has a header and
17511775 its field separator. It is set to ``False`` if ``header_line`` or
@@ -1833,7 +1857,9 @@ def simplify_coclustering(
18331857 coclustering_file_path : str
18341858 Path of the coclustering file (extension ``.khc``, or ``.khcj``).
18351859 simplified_coclustering_file_path : str
1836- Path of the output coclustering file.
1860+ Path (absolute path recommended) of the output coclustering file. Note
1861+ that a relative path will produce a report file in the current working
1862+ directory which may not be the desired location.
18371863 max_preserved_information : int, default 0
18381864 Maximum information preserve in the simplified coclustering. If equal to 0
18391865 there is no limit.
@@ -2009,7 +2035,9 @@ def extract_clusters(
20092035 cluster_variable : str
20102036 Name of the variable for which the clusters are extracted.
20112037 clusters_file_path : str
2012- Path of the output clusters TSV file.
2038+ Path (absolute path recommended) of the output clusters TSV file. Note
2039+ that a relative path will produce a file in the current working directory
2040+ which may not be the desired location.
20132041 max_preserved_information : int, default 0
20142042 Maximum information preserve in the simplified coclustering. If equal to 0 there
20152043 is no limit.
0 commit comments