Skip to content

Commit

Permalink
Merge pull request #12 from ioannis-vm/main
Browse files Browse the repository at this point in the history
Change loss measure unit to ratios.
  • Loading branch information
zsarnoczay authored Dec 13, 2024
2 parents e230710 + ccdf72e commit 25a7b2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def create_Hazus_Flood_repair_db(
description = row.Description

# loss function information
ys = ', '.join([str(x) for x in row[ft_cols].to_list()])
ys = ', '.join([f'{x/100.00:.3f}' for x in row[ft_cols].to_list()])
xs = ', '.join([str(x) for x in ft_values.tolist()])
lf_str = f'{ys}|{xs}'

Expand Down

0 comments on commit 25a7b2d

Please sign in to comment.