Skip to content

Commit

Permalink
Final tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
johnisom committed Dec 13, 2023
1 parent c53f737 commit 41cf671
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified environment.yml
Binary file not shown.
4 changes: 2 additions & 2 deletions src/gui/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def display_predicted_info(self, probabilities):
self.probability_3_percent_var.set(f'{probabilities[2][1] * 100:.2f}')

def show_fips_confusion_matrix(self):
plot_lonlat_confusion_matrix()
plot_fipscode_confusion_matrix()

def show_lonlat_confusion_matrix(self):
plot_fipscode_confusion_matrix()
plot_lonlat_confusion_matrix()
4 changes: 2 additions & 2 deletions src/gui/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def __init__(self, *args, **kwargs):
predictions_text = 'Here you\'ll be able to predict the likely cause of a fire by giving the machine learning model some information about the fire: final size, county location, and date of discovery.\n' \
'The performance is 60.93% accuracy for the Longitude/Latitude model and 57.64% for the State/County model with 13 labels to choose from. That is actually rather good (random chance would be 7.69%).'
predictions_text_label = ttk.Label(self, text=predictions_text, wraplength=630, justify=LEFT)
credits_subtitle = Subtitle(self, text='Credits / License')
credits_text = 'The credits and license pages have more information about the author of the project, the license used, and credits for others where credits are due.'
credits_subtitle = Subtitle(self, text='License')
credits_text = 'The license pages has information about the software license used.'
credits_text_label = ttk.Label(self, text=credits_text, wraplength=630, justify=LEFT)

# Set items on the grid
Expand Down

0 comments on commit 41cf671

Please sign in to comment.