Jenks Natural Breaks# class oats.threshold.jenks.JenksThreshold(*args, **kwargs)[source]# Bases: Threshold Getting threshold using 1-D clustering (Jenks Natural Breaks). No need to call fit(). fit(*args, **kwargs)[source]# get_threshold(data, n_partitions=20)[source]# Parameters: data (np.ndarray) – numpy array of scores n_partitions (int, optional) – number of partitions to fit. Defaults to 20. Returns: thresholds Return type: np.ndarray