-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
…454-reorganize-pipeline_decision_treepy-script
There was a problem hiding this 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
scripts/pipeline_decision_tree.py
Outdated
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] |
There was a problem hiding this comment.
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." |
There was a problem hiding this comment.
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
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