Skip to content

Commit

Permalink
Add SLSQP KL results
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-Tehrani committed Mar 28, 2022
1 parent 5a0a7e6 commit 1947066
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ The features of this software are:

KL-FPI Models of Atomic Densities
------------------------------------------
The final model of fitting the atomic densities using the Kullback-Leibler divergence fixed point iteration method
can be access by opening the file `./bfit/data/mbis_ugbs_results.npz` with numpy.
The final model of fitting the atomic densities using the Kullback-Leibler (KL) divergence fixed point iteration method
can be accessed by opening the file `./bfit/data/mbis_ugbs_results.npz` with numpy.
Similarly, the results from optimizing KL with SLSQP method using `mbis_ugbs_results.npz`
as initial guesses can be accessed by opening the file `./bfit/data/slsqp_kl_results.npz` with numpy.
```python
import numpy as np

Expand All @@ -113,7 +115,7 @@ print(exponents[:num_s])
print("p-type exponents")
print(exponents[num_s:])
```
Alternatively, one can load these results using JSON file format.
Alternatively, one can load these results using JSON file.
```python
import json
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions bfit/data/slsqp_kl_results.json

Large diffs are not rendered by default.

Binary file added bfit/data/slsqp_kl_results.npz
Binary file not shown.

0 comments on commit 1947066

Please sign in to comment.