Skip to content

Commit

Permalink
Merge branch 'main' into cml-test
Browse files Browse the repository at this point in the history
  • Loading branch information
dec1costello authored Oct 13, 2024
2 parents 8eb82bd + 9e02443 commit 19c57a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Streamlit/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
test_score = regr.score(X_test, y_test) * 100

# Write scores to a file
try:
with open("Streamlit/results.txt", 'w') as outfile:
with open("Streamlit/results.txt", 'w') as outfile:
outfile.write("Training variance explained: %2.1f%%\n" % train_score)
outfile.write("Test variance explained: %2.1f%%\n" % test_score)
print("Successfully wrote to results.txt")
Expand Down

0 comments on commit 19c57a5

Please sign in to comment.