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

Something Off on Sine Wave Example #1

Open
smart-patrol opened this issue Sep 12, 2017 · 1 comment
Open

Something Off on Sine Wave Example #1

smart-patrol opened this issue Sep 12, 2017 · 1 comment

Comments

@smart-patrol
Copy link

`X, y = make_sine_wave()

plot_data(X, y, figsize=(10, 8))`

Generates a plot that appears to be all red 0 with 6 blue does (as 1).

@meguia
Copy link

meguia commented Oct 5, 2017

in make_sine_wave()
int((i/step)%2==1)
should be:
int((i/step)%2)

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

2 participants