Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

454 reorganize pipeline decision treepy script #549

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jtdelmundo
Copy link
Collaborator

I added some test data sets and made some changes to the decision tree, along with some reorganizations.

The most notable change is the decision tree is the change to decide the "best chi square" from the ensemble states. Now, if will select the largest chi2 value that is < 2, or the smallest chi2 value if they are all >2

First request to pull to main... trying to see how this works too

@jtdelmundo jtdelmundo linked an issue Jan 13, 2025 that may be closed by this pull request
…454-reorganize-pipeline_decision_treepy-script
Copy link
Collaborator

@dsclassen dsclassen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good start. needs some discussion before we merge.
We need better documentation for the the example data

Comment on lines 149 to 151
multi_states_file = multi_state_models[cs_models.index(best_cs)]
multi_states_num_i = multi_states_file.find("multi_state_model_")
multi_states_num = multi_states_file[multi_states_num_i + 18]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function should return an index only.

@@ -629,7 +609,7 @@ def handle_poor_fit(
if second_highest_chi_square_flag == "mid_q_err":
feedback += (
" The movement of flexible regions in the model also do not seem to "
"improve the fitting."
"improve the fit."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent catch

refactored best_chi_square_i function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reorganize pipeline_decision_tree.py script
2 participants