Skip to content

Commit

Permalink
(randSol) lowered the default convergence criterion from 1% to 0.5%
Browse files Browse the repository at this point in the history
  • Loading branch information
amkrajewski committed Oct 27, 2023
1 parent 4d82b5d commit 1054ae5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pysipfenn/descriptorDefinitions/KS2022_randomSolutions.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def magpie_mode(attribute_properties, axis=0):
def generate_descriptor(struct: Structure,
comp: Composition,
minimumSitesPerExpansion: int = 50,
featureConvergenceCriterion: float = 0.01,
featureConvergenceCriterion: float = 0.005,
compositionConvergenceCriterion: float = 0.01,
minimumElementOccurrences: int = 10,
plotParameters: bool = False,
Expand Down Expand Up @@ -348,8 +348,8 @@ def generate_descriptor(struct: Structure,
fig = px.line(pd.DataFrame(diffArray, columns=labels), title='KS2022 Descriptor Parameters',
range_y=[-0.5, 0.5])
# Add horizontal lines at convergence criteria of +/- 0.01.
fig.add_hline(y=0.01, line_dash='dash', line_color='red')
fig.add_hline(y=-0.01, line_dash='dash', line_color='red')
fig.add_hline(y=featureConvergenceCriterion, line_dash='dash', line_color='red')
fig.add_hline(y=-featureConvergenceCriterion, line_dash='dash', line_color='red')

fig.show()

Expand Down

0 comments on commit 1054ae5

Please sign in to comment.