-
-
Notifications
You must be signed in to change notification settings - Fork 333
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 logistic regression example on iris dataset. #109
Add logistic regression example on iris dataset. #109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is very nice, thanks!
other/iris/iris.jl
Outdated
|
||
|
||
# Start Training. | ||
for epoch in 1:100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be done with something like data = Iterators.repeat((X, Y), 100)
.
bdba607
to
0591270
Compare
Hi Mike, I've changed the call to One thing - this model depends on FluxML/Flux.jl#652 for its dataset. Thank you! |
That PR is merged, so presumably this just needs the manifest to be updated? |
Yes I think so. I was going to do that today. I just need to figure out how to require that it use Flux 0.8.1+ I think. |
Err, 0.8.1 or 0.8.1+ I guess. |
0591270
to
de0df39
Compare
add julia prompt to REPL excerpt in README.md
I've updated the manifest. Let me know if there's anything else I should do. Thanks! |
Thanks! |
This is a super simple model aimed at helping beginners get started with Flux.
It depends on an 'iris' Data module in Flux, PR here: FluxML/Flux.jl#652.
If it doesn't make sense to have the iris Data module in Flux I can move that over here.
Please make any suggestions/changes you think might be appropriate. Thank you!