@@ -490,7 +490,7 @@ class CoclusteringDimension:
490490 """A coclustering dimension (variable)
491491
492492 A coclustering dimension is a hierarchical clustering of an input variable. The
493- leafs of this hierarchy are linked to an element of a partition of the input
493+ leaves of this hierarchy are linked to an element of a partition of the input
494494 variable. Leaf clusters have variable parts as their children.
495495
496496 It only has a no-parameter constructor.
@@ -553,7 +553,7 @@ def __init__(self):
553553 # Default group attribute only for categorical dimensions
554554 self .default_group = None
555555
556- # List of the hierarchy clusters, ranging from the root to the leafs
556+ # List of the hierarchy clusters, ranging from the root to the leaves
557557 self .root_cluster = None
558558 self .clusters = []
559559
@@ -939,7 +939,7 @@ def __init__(self, json_data=None):
939939 # Transform to an empty dictionary if json_data is not specified
940940 if json_data is None :
941941 json_data = {}
942- # Otherise check the validity of json_data
942+ # Otherwise check the validity of json_data
943943 elif "cluster" not in json_data :
944944 raise KhiopsJSONError ("'cluster' key not found" )
945945
@@ -955,7 +955,7 @@ class CoclusteringDimensionPartInterval(CoclusteringDimensionPart):
955955 json_data : dict, optional
956956 Python dictionary representing an element of type "Numerical" of the list at the
957957 ``dimensionPartitions`` field of a Khiops Coclustering JSON report file. If not
958- specifed it returns an empty instance.
958+ specified it returns an empty instance.
959959
960960 Raises
961961 ------
@@ -1205,7 +1205,7 @@ def __init__(self, json_data=None):
12051205 # Transform to an empty dictionary if json_data is not specified
12061206 if json_data is None :
12071207 json_data = {}
1208- # Otherwise check the "cluter " and "parentCluster" keys
1208+ # Otherwise check the "cluster " and "parentCluster" keys
12091209 else :
12101210 if "cluster" not in json_data :
12111211 raise KhiopsJSONError ("'cluster' key not found" )
@@ -1224,7 +1224,7 @@ def __init__(self, json_data=None):
12241224 self .short_description = json_data .get ("shortDescription" , "" )
12251225 self .description = json_data .get ("description" , "" )
12261226
1227- # Link to child clusters, None for the leafs of the hierarchy
1227+ # Link to child clusters, None for the leaves of the hierarchy
12281228 # The user must specify the CoclusteringCluster references parent_cluster
12291229 # and child_cluster that link this instance to the hierarchy
12301230 self .parent_cluster = None
0 commit comments