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

Add support for neighbours in loss computation in LearnerND #185

Merged
merged 14 commits into from May 6, 2019

Conversation

jhoofwijk
Copy link
Contributor

This PR will make the LearnerND get the option to add more points in highly curved areas (similar to the Learner1D)

It also moves the uses_nth_neighbor function from the learner1D to the base_learner to avoid circular imports

@basnijholt
Copy link
Member

This looks great @JornHoofwijk, I'll soon go over your new changes! 😄

@basnijholt basnijholt self-requested a review May 6, 2019 18:38
Copy link
Member

@basnijholt basnijholt left a comment

Choose a reason for hiding this comment

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

All looks great!

@basnijholt basnijholt merged commit 98b911c into python-adaptive:master May 6, 2019
@basnijholt basnijholt mentioned this pull request May 6, 2019
basnijholt pushed a commit that referenced this pull request May 6, 2019
* add support for neighbours in loss computation in LearnerND

* make loss function only accept one single exploration factor

* redefine the call signature of the curvature loss function

* make learnerND curvature loss work without errors

* add function to triangulation to find opposing vertices

* add some more tests for get_opposing_vertices

* make use of the new api

* fix spaces (after comma and indentation)

* remove unused import

* remove comment

* add exception if too many neighbors

* remove trailing whitespace
basnijholt pushed a commit that referenced this pull request May 8, 2019
* add support for neighbours in loss computation in LearnerND

* make loss function only accept one single exploration factor

* redefine the call signature of the curvature loss function

* make learnerND curvature loss work without errors

* add function to triangulation to find opposing vertices

* add some more tests for get_opposing_vertices

* make use of the new api

* fix spaces (after comma and indentation)

* remove unused import

* remove comment

* add exception if too many neighbors

* remove trailing whitespace
basnijholt pushed a commit that referenced this pull request Jul 10, 2019
* add support for neighbours in loss computation in LearnerND

* make loss function only accept one single exploration factor

* redefine the call signature of the curvature loss function

* make learnerND curvature loss work without errors

* add function to triangulation to find opposing vertices

* add some more tests for get_opposing_vertices

* make use of the new api

* fix spaces (after comma and indentation)

* remove unused import

* remove comment

* add exception if too many neighbors

* remove trailing whitespace
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.

None yet

2 participants