You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opened by Adriaan (@AdriaanRol) at 2018-12-05T12:44:28.826Z
In the example for adaptive.learner.learner2D.uniform_loss(ip) the loss_per_triangle variable is set to uniform_sampling_2d, a variable that is undefined in the example snippet. I would expect this to be set to learner2D.uniform_loss combined with the appropriate import statement as is done in the example above it.
The uniform sampling strategy is a common case to benchmark against, so the 1D and 2D versions are included in adaptive as adaptive.learner.learner1D.uniform_sampling and adaptive.learner.learner2D.uniform_sampling.
It refers to adaptive.learner.learner2D.uniform_sampling which does not exist. I would suggest updating the binder example to use the right variable names.
(original issue on GitLab)
opened by Adriaan (@AdriaanRol) at 2018-12-05T12:44:28.826Z
In the example for
adaptive.learner.learner2D.uniform_loss(ip)
the loss_per_triangle variable is set touniform_sampling_2d
, a variable that is undefined in the example snippet. I would expect this to be set tolearner2D.uniform_loss
combined with the appropriate import statement as is done in the example above it.https://adaptive.readthedocs.io/en/latest/reference/adaptive.learner.learner2D.html#adaptive.Learner2D
The text was updated successfully, but these errors were encountered: