Skip to content

Commit

Permalink
Forgot to update some examples from before...
Browse files Browse the repository at this point in the history
  • Loading branch information
leschultz committed Sep 7, 2023
1 parent 2195dc7 commit 2e24be3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/auto_push/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def main():

if not data_name in [
'diffusion',
'make_regression',
'friedman1',
'steel_yield_strength',
'fluence',
Expand Down Expand Up @@ -64,7 +65,7 @@ def main():
)

# Types of sampling to test
splits = [('calibration', RepeatedKFold(n_repeats=n_repeats))]
splits = [('fit', RepeatedKFold(n_repeats=n_repeats))]

# Boostrap, cluster data, and generate splits
for i in [2, 3]:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Package information
name = 'madml'
version = '0.6.6' # Need to increment every time to push to PyPI
version = '0.6.7' # Need to increment every time to push to PyPI
description = 'Application domain of machine learning in materials science.'
url = 'https://github.com/leschultz/'\
'materials_application_domain_machine_learning.git'
Expand Down
2 changes: 1 addition & 1 deletion src/madml/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def cdf(x, save=None, binsave=None, subsave='', choice='standard_normal'):
return y, y_pred, areaparity, areacdf


def binned_truth(data_cv, metric, bins, gt=0.05, save=False):
def binned_truth(data_cv, metric, bins, gt, save=False):
'''
Do analysis on binned data.
Expand Down

0 comments on commit 2e24be3

Please sign in to comment.