@@ -47,17 +47,15 @@ class DenMune(BaseEstimator, ClusterMixin):
4747
4848 dim_reducer : str or estimator object, default='tsne'
4949 The dimensionality reduction method to use. Can be 'tsne', 'pca',
50- 'umap' (if installed), or a pre-initialized scikit-learn compatible
51- estimator object.
52-
53- dim_reducer_params : dict, default = None
54- Arguments provided to the inner dimension reducer object, ignored if
55- `dim_reducer` is an estimator object
50+ or a pre-initialized scikit-learn compatible estimator object.
5651
5752 metric : str, default='euclidean'
5853 The distance metric to use for the k-nearest neighbor search. See
5954 `sklearn.neighbors.NearestNeighbors` for valid options.
6055
56+ metric_params : dict, default=None
57+ Additional keyword arguments for the metric function.
58+
6159 n_jobs : int, default=None
6260 The number of parallel jobs to run for neighbors search and
6361 dimensionality reduction. `None` means 1, `-1` means using all
@@ -109,7 +107,7 @@ class DenMune(BaseEstimator, ClusterMixin):
109107 >>> from sklearn.preprocessing import StandardScaler
110108 >>> import numpy as np
111109 >>> # Assuming DenMune is defined in the current scope or imported
112- >>> # from denmune import DenMune
110+ >>> from denmune_skl import DenMune
113111 >>>
114112 >>> # Generate sample data
115113 >>> X, y = make_moons(n_samples=250, noise=0.07, random_state=42)
0 commit comments