File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,14 @@ pip install -e .
56
56
57
57
Import ConDo and create the adapter:
58
58
``` python
59
- import condo
60
- condoer = condo.ConDoAdapter ()
59
+ from condo import ConDoAdapterKLD
60
+ condoer = ConDoAdapterKLD ()
61
61
```
62
62
63
63
Try using it:
64
64
``` python
65
65
import numpy as np
66
+
66
67
X_T = np.sort(np.random.uniform(0 , 8 , size = (100 , 1 )))
67
68
X_S = np.sort(np.random.uniform(4 , 8 , size = (100 , 1 )))
68
69
Y_T = np.random.normal(4 * X_T + 1 , 1 * X_T + 1 )
@@ -84,13 +85,6 @@ In this directory run
84
85
pytest
85
86
```
86
87
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
-
94
88
## License Information
95
89
96
90
This work is licensed under a
You can’t perform that action at this time.
0 commit comments