Skip to content
Closed
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
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ and [GitHub releases](https://github.com/theochem/Selector/tags).
pip install file_path/qc_selector-0.1.0-py3-none-any.whl

```
from selector import optisim_selection
import numpy as np

# Example dataset: 1000 points with 5 features
points = np.random.rand(1000, 5)

# Select 50 diverse points using OptiSim
selected_points = optisim_selection(points, n_select=50)

print("Number of selected points:", len(selected_points))


### Installing from the Source Code

Expand Down
Loading