Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
2
2026_Article_RESILINK_ML
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joaquín Irazábal González
2026_Article_RESILINK_ML
Commits
1afe0825
Commit
1afe0825
authored
Feb 16, 2026
by
Joaquín Irazábal González
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deat(main): save results in reports folder
parent
12194abd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
predict_hysteretic_curves.py
Code/src/hysteretic_curves/predict_hysteretic_curves.py
+3
-1
No files found.
Code/src/hysteretic_curves/predict_hysteretic_curves.py
View file @
1afe0825
...
...
@@ -916,7 +916,9 @@ def main():
for
idx
,
pred
in
zip
(
test_indices
,
y_pred
):
df_test_pred
.
loc
[
idx
,
"Force_RNN"
]
=
pred
out_file
=
f
"../../data/hysteretic_curves/{w_val}W/H{h_val}_B{b_val}/case_{predict_case}_with_rnn_preds.csv"
out_folder
=
f
"../../reports/hysteretic_curves/{w_val}W/H{h_val}_B{b_val}"
os
.
makedirs
(
out_folder
,
exist_ok
=
True
)
out_file
=
os
.
path
.
join
(
out_folder
,
f
"case_{predict_case}_with_rnn_preds.csv"
)
df_test_pred
.
to_csv
(
out_file
,
index
=
False
)
print
(
f
"
\n
Saved predictions to: {out_file}"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment