Skip to content

Commit

Permalink
fized atoms generating too close
Browse files Browse the repository at this point in the history
  • Loading branch information
iantbeck committed Jul 30, 2024
1 parent 6f40a01 commit 97b664c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion peslearn/datagen/configuration_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def too_close(self, tooclose=0.1):
Check to ensure no interatomic distances are too close.
"""
start = timeit.default_timer()
print("Removing geometries with atoms that are too close...")
nrows_before = len(self.all_geometries.index)
df = self.all_geometries.copy()
df = df.round(10)
Expand Down
2 changes: 1 addition & 1 deletion peslearn/input_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_keywords(self):
'schema_units' : 'angstrom', # 'bohr'
'sort_pes': 'true', #'false'
'training_points': None, # any int
'tooclose': 0.1, # any int or None
'tooclose': 0.1, # any int
'use_pips': 'true', #'false'
'validation_points': None # any int
}
Expand Down
2 changes: 1 addition & 1 deletion peslearn/ml/kernel_ridge_reg.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def set_default_hyperparameters(self):
if 'polynomial' in kernels or 'poly' in kernels:
print("WARNING: Polynomial type kernels are included in this hyperoptimization.")
print("\t It is strongly cautioned against optimizing polynomial kernels in a precomputed kernel along with other types of kernels.")
print("\t See KRR docs for more info.")
print("\t See KRR example docs for more info.")
# add link to docs?
if 'degree' in precomputed_kernel:
degrees = np.asarray(precomputed_kernel['degree'])
Expand Down

0 comments on commit 97b664c

Please sign in to comment.