Skip to content

Commit

Permalink
FIX swap mixin order
Browse files Browse the repository at this point in the history
  • Loading branch information
PSSF23 authored Dec 3, 2024
1 parent 24b37e2 commit 418673e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treeple/neighbors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from treeple.tree._neighbors import _compute_distance_matrix, compute_forest_similarity_matrix


class NearestNeighborsMetaEstimator(BaseEstimator, MetaEstimatorMixin):
class NearestNeighborsMetaEstimator(MetaEstimatorMixin, BaseEstimator):
"""Meta-estimator for nearest neighbors.
Uses a decision-tree, or forest model to compute distances between samples
Expand Down

0 comments on commit 418673e

Please sign in to comment.