Skip to content

Commit eae5b28

Browse files
committed
Chore: Replaced leftover artifacts of the template with proper content
1 parent 4250442 commit eae5b28

19 files changed

Lines changed: 51 additions & 1041 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v5
2020
- uses: prefix-dev/setup-pixi@v0.9.2
2121
with:
22-
pixi-version: v0.23.0
22+
pixi-version: v0.50.0
2323
environments: ${{ matrix.environment }}
2424
frozen: true
2525

@@ -30,4 +30,4 @@ jobs:
3030
uses: codecov/codecov-action@v5.5.1
3131
with:
3232
token: ${{ secrets.CODECOV_TOKEN }}
33-
slug: scikit-learn-contrib/project-template
33+
slug: ${{ github.repository }}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016, Vighnesh Birodkar and scikit-learn-contrib contributors
1+
Copyright (c) 2016, Loo Jun Zing
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ This project was created to provide a version of DenMune that is:
3131
### Installation
3232

3333
```bash
34-
pip install denmune-sklearn
34+
pip install denmune-skl
3535
```
3636

3737
### Quick Usage
3838

3939
```python
4040
from sklearn.datasets import make_moons
4141
from sklearn.preprocessing import StandardScaler
42-
from denmune import DenMune
42+
from denmune-skl import DenMune
4343
import matplotlib.pyplot as plt
4444
import numpy as np
4545

denmune/__init__.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

denmune/denmune.py

Lines changed: 0 additions & 316 deletions
This file was deleted.

denmune_skl/denmune.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)