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

tell_many method #49

Closed
basnijholt opened this issue Dec 19, 2018 · 1 comment
Closed

tell_many method #49

basnijholt opened this issue Dec 19, 2018 · 1 comment

Comments

@basnijholt
Copy link
Member

(original issue on GitLab)

opened by Vanessa Gall (@vgall) at 2018-07-25T13:07:39.891Z

I'm using adaptive version 0.4.1 and it seems, the method tell_many used in the learner.ipynb example both in the 1d and the 2d case does not exist.

learner2 = adaptive.Learner1D(f, bounds=learner.bounds)
xs = np.linspace(*learner.bounds, len(learner.data))
learner2.tell_many(xs, map(partial(f, wait=False), xs))

Maybe it should just be the tell method?

@basnijholt
Copy link
Member Author

originally posted by Anton Akhmerov (@anton-akhmerov) at 2018-07-25T14:34:01.412Z on GitLab

Ah, I think you are using a newer version of learner.ipynb: in v0.4.1 there are no references to tell_many: https://gitlab.kwant-project.org/qt/adaptive/blob/v0.4.1/learner.ipynb

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

No branches or pull requests

1 participant