Machine Learning in Julia: Difference between revisions
Created page with "There are two main machine learning libraries in Julia, [https://fluxml.ai/ Flux.jl] and [https://github.com/denizyuret/Knet.jl Knet.jl] =Flux.jl= [https://fluxml.ai/Flux.jl/..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
=Flux.jl= | =Flux.jl= | ||
[https://fluxml.ai/Flux.jl/stable/ Reference] | [https://fluxml.ai/Flux.jl/stable/ Reference]<br> | ||
<syntaxhighlight> | See [[Flux]] | ||
==Basic Usage== | |||
<syntaxhighlight lang="julia"> | |||
using Flux; | using Flux; | ||
using Flux.Tracker: update!; | using Flux.Tracker: update!; | ||
| Line 44: | Line 46: | ||
update!(model[1].W, -0.1 * gs[model[1[].W]); | update!(model[1].W, -0.1 * gs[model[1[].W]); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=Knet.jl= | |||