Skip to content

Commit

Permalink
Some more required config options (#14)
Browse files Browse the repository at this point in the history
* deploy test abs-timing

* loss method

* back to deploy on main only
  • Loading branch information
joglekara authored Nov 21, 2024
1 parent e8e613c commit 6c24c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
push:
branches:
- main
- feature/upload-data

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions tsadar_gui/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def optimizer_section():
"refine_factor": st.number_input("Refine factor", value=0, min_value=0, step=1),
"num_mins": st.number_input("Number of minima", value=8, min_value=1, step=1),
"sequential": st.checkbox("Sequential optimization", value=False),
"moment_loss": st.checkbox("EDF moment loss penalties", value=False),
"loss_method": st.selectbox("Loss method", ["l2", "l1", "poisson", "log-cosh"], index=0),
}

return optimizer
Expand Down Expand Up @@ -500,6 +502,7 @@ def create_default_config():
"fit_IAW": st.checkbox("fit_IAW", value=False),
"fit_EPWb": st.checkbox("fit_EPWb", value=True),
"fit_EPWr": st.checkbox("fit_EPWr", value=True),
"absolute_timing": st.checkbox("absolute_timing", value=False),
"spectype": st.selectbox("spectype", ["temporal"]),
},
"PhysParams": {
Expand Down

0 comments on commit 6c24c35

Please sign in to comment.