neurodata / scikit-tree

Scikit-learn compatible decision trees beyond those offered in scikit-learn
https://docs.neurodata.io/scikit-tree/dev/index.html
Other
54 stars 13 forks source link

`similarity_matrix_` and `dissimilarity_matrix_` attributes don't exist in `UnsupervisedObliqueRandomForest` after fitting #251

Closed j1c closed 2 months ago

j1c commented 3 months ago

Checklist

Description

similarity_matrix_ and dissimilarity_matrix_ attributes don't exist in UnsupervisedObliqueRandomForest after fitting, but are noted in the attribute list in the documentation (https://docs.neurodata.io/scikit-tree/dev/generated/sktree.UnsupervisedObliqueRandomForest.html#sktree.UnsupervisedObliqueRandomForest.compute_similarity_matrix)

Related issues or possible duplicates

Environment

OS:

Python version:

Output of pip freeze:

``` ```

Steps to reproduce

Example source:

``` ```

adam2392 commented 3 months ago

Ah yeah this is an error leftover in the docs. compute_similarity_matrix works instead