Skip to content

example on readme not working #31

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

Closed
mantzaris opened this issue Feb 22, 2019 · 2 comments
Closed

example on readme not working #31

mantzaris opened this issue Feb 22, 2019 · 2 comments

Comments

@mantzaris
Copy link

  1. The ys data needed the broadcast operator; ys = sin.(xs) .+ 0.5 * rand(100)
  2. In attempting to use the loess model construction method, an error is returned even after 'using' all relevant packages;
model = loess(xs, ys)
ERROR: cannot assign variable Bootstrap.model from module Main
Stacktrace:
 [1] top-level scope at none:0
@tpapp
Copy link
Contributor

tpapp commented Sep 18, 2019

I fixed the broadcasting in #32, and can't reproduce the second error.

@tlnagy
Copy link
Collaborator

tlnagy commented Apr 6, 2020

You likely ran using Bootstrap which imported the model function into your namespace and then that conflicted with you setting the model variable with model = loess(xs, ys)

@tlnagy tlnagy closed this as completed Apr 6, 2020
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

3 participants