Skip to content

Barycentric subdivision#13

Merged
danielbinschmid merged 10 commits into
mainfrom
barycentric_subdivision
Sep 13, 2024
Merged

Barycentric subdivision#13
danielbinschmid merged 10 commits into
mainfrom
barycentric_subdivision

Conversation

@rballeba

@rballeba rballeba commented Sep 6, 2024

Copy link
Copy Markdown
Contributor

The pull requests allows one to test the trained neural networks on the barycentric subdivisions of the original test dataset specifying a maximum number of barycentric subdivisions to perform.

Comment thread .gitignore

@danielbinschmid danielbinschmid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks very good. Just some minor questions

Comment thread code/experiments/test.py Outdated

# add benchmarking results
results.add(data=out[0], config=config)
results.add(data=out[0][0], config=config)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

does this still work for every configuration? Why is the result array now two-dimensional?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just saw the edit in run_experiment.py. I see now that we add a result for every barycentric subdivision. Shouldn't the line be something like results.add(data=out[idx][0], config=config) where idx is the index of the barycentric subdivision then?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes! True! Good catch!

@danielbinschmid danielbinschmid Sep 10, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great, it looks better now in 25ff2a0

One more thought:
How is it intended to evaluate the results of the barycentric subdivisions? I think we need to add information about that an added benchmark corresponds to its relevant subdivision configuration in the ResultCollection.

Since the subdivision configuration it is not included in the ConfigExperimentRun, I think it can be done by adding another argument to the add method in the ResultCollection class (needs to also be handled in the save_result method).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OMW.

Comment thread .gitignore
@danielbinschmid

Copy link
Copy Markdown
Contributor

We also need to merge the new commits in main to this branch

@danielbinschmid danielbinschmid merged commit 5bc90ca into main Sep 13, 2024
@danielbinschmid danielbinschmid deleted the barycentric_subdivision branch September 14, 2024 07:48
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.

2 participants