Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor for maintenance #48

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ df = make_dataframe()
clf = DenseClus(df)
clf.fit(df)

scores = clf.score()
scores = clf.evaluate()
print(scores[0:10])
```

Expand All @@ -47,7 +47,7 @@ print(scores[0:10])

### Prediction

DenseClus uses a `predict` method whhne `umap_combine_method` is set to `ensemble`.
DenseClus uses a `predict` method when `umap_combine_method` is set to `ensemble`.
Results are return in 2d array with the first part being the labels and the second part the probabilities.

```python
Expand Down Expand Up @@ -77,6 +77,21 @@ clf = DenseClus(
)
```

### To Use with GPU with Ensemble

To use with gpu first have [rapids installed](https://docs.rapids.ai/install#selector).
You can do this as setup by providing cuda verision.
`pip install denseclus[gpu-cu12]`

Then to run:

```python
clf = DenseClus(
umap_combine_method="ensemble",
use_gpu=True
)
```


### Advanced Usage

Expand Down
Loading
Loading