|
195 | 195 | "metadata": {}, |
196 | 196 | "source": [ |
197 | 197 | "Using the branch detection functionality is fairly straightforward. Using\n", |
198 | | - "`fast_hdbscan` one can simply configure the ``BranchDetector`` class and fit is\n", |
| 198 | + "`fast_hdbscan` one can simply configure the ``BranchDetector`` class and fit it\n", |
199 | 199 | "with the `fast_hdbscan.HDBSCAN` object. By default `BranchDetector` uses the\n", |
200 | 200 | "values of the given `HDBSCAN` object for the parameters they share.\n", |
201 | 201 | "\n", |
|
236 | 236 | "cell_type": "markdown", |
237 | 237 | "metadata": {}, |
238 | 238 | "source": [ |
239 | | - "By default, the centers of clusters get a non-noise label different from the\n", |
240 | | - "branches in the cluster. This behavior can be changed by setting the\n", |
241 | | - "`propagate_labels=True` parameter or by calling `propagated_labels()` after\n", |
242 | | - "fitting." |
| 239 | + "The centers of clusters get a non-noise label different from the branches in the\n", |
| 240 | + "cluster. This behavior can be changed by setting the `propagate_labels=True`\n", |
| 241 | + "parameter or by calling `propagated_labels()` after fitting." |
243 | 242 | ] |
244 | 243 | }, |
245 | 244 | { |
|
306 | 305 | " default a cluster needs to have one bifurcation (Y-shape) before the detected\n", |
307 | 306 | " branches are represented in the final labelling.\n", |
308 | 307 | "\n", |
309 | | - "Unlike `hdbscan.branches.BranchDetector`, the `fast_hdbscan` version does not support the `branch_detection_method` parameter. This implementation will always use a `\"core\"` graph to determine which points are connected within a cluster." |
| 308 | + "Unlike the `hdbscan` version, `fast_hdbscan`'s `BranchDetector` does not support\n", |
| 309 | + "the `branch_detection_method` parameter. This implementation will always use a\n", |
| 310 | + "`\"core\"` graph to determine which points are connected within a cluster. A\n", |
| 311 | + "`\"core\"` graph combines nearest neighbors and the minimum spanning tree of a\n", |
| 312 | + "cluster. It contains all connectivity within the points' core distances and\n", |
| 313 | + "forms a single connected component per cluster." |
310 | 314 | ] |
311 | 315 | }, |
312 | 316 | { |
|
315 | 319 | "source": [ |
316 | 320 | "## Useful attributes\n", |
317 | 321 | "\n", |
318 | | - "Like the HDBSCAN class, the BranchDetector class contains several useful\n", |
319 | | - "attributes for exploring datasets.\n", |
| 322 | + "The `BranchDetector` class contains several useful attributes for exploring\n", |
| 323 | + "datasets.\n", |
320 | 324 | "\n", |
321 | 325 | "### Branch hierarchy\n", |
322 | 326 | "\n", |
|
0 commit comments