Skip to content

Commit a0d7489

Browse files
README.md
1 parent aa7855b commit a0d7489

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,14 @@ pip install -e .
5656

5757
Import ConDo and create the adapter:
5858
```python
59-
import condo
60-
condoer = condo.ConDoAdapter()
59+
from condo import ConDoAdapterKLD
60+
condoer = ConDoAdapterKLD()
6161
```
6262

6363
Try using it:
6464
```python
6565
import numpy as np
66+
6667
X_T = np.sort(np.random.uniform(0, 8, size=(100, 1)))
6768
X_S = np.sort(np.random.uniform(4, 8, size=(100, 1)))
6869
Y_T = np.random.normal(4 * X_T + 1, 1 * X_T + 1)
@@ -84,13 +85,6 @@ In this directory run
8485
pytest
8586
```
8687

87-
### Code formatting
88-
The Uncompromising Code Formatter: [Black](https://github.com/psf/black)
89-
```black {source_file_or_directory}```
90-
91-
Install it into pre-commit hook to always commit well-formatted code:
92-
```pre-commit install```
93-
9488
## License Information
9589

9690
This work is licensed under a

0 commit comments

Comments
 (0)