Flux.jl/docs/src/index.md

32 lines
1.9 KiB
Markdown
Raw Normal View History

2017-01-16 00:46:50 +00:00
# Flux
2017-01-16 16:51:21 +00:00
2017-01-18 00:42:22 +00:00
Flux is a high-level interface for machine learning, implemented in Julia.
2017-01-16 16:51:21 +00:00
2017-01-18 01:28:12 +00:00
Flux aims to be an intuitive and powerful notation, close to the mathematics, that provides advanced features like auto-unrolling and closures. Simple models are trivial, while the most complex architectures are tractable, taking orders of magnitude less code than in other frameworks. Meanwhile, the Flux compiler provides excellent error messages and tools for debugging when things go wrong.
2017-01-16 16:51:21 +00:00
2017-02-24 15:48:45 +00:00
So what's the catch? Flux is at an early "working prototype" stage; many things work but the API is still in a state of... well, it might change. If you're interested to find out what works, read on!
2017-01-16 16:51:21 +00:00
2017-02-24 15:48:45 +00:00
## Where do I start?
2017-02-24 15:56:14 +00:00
The [examples](examples/logreg.html) are the best way to get a feel for how Flux looks. This a great way to start if you're a relative newbie to machine learning or neural networks; you should be able to get the examples running fairly easily.
2017-02-24 15:48:45 +00:00
2017-02-24 15:56:14 +00:00
If you have more experience with ML, or you just don't want to see *those digits* again, check out the [model building guide](models/basics.html) instead. The Guide attempts to motivate Flux's programming model and approach with examples. However, it also gets into advanced usage very quickly; it's not necessary to memorise all the details to use Flux effectively.
2017-02-24 15:48:45 +00:00
2017-02-24 15:56:14 +00:00
The sections on [Recurrence](models/recurrent.html), [Debugging](models/debugging.html) and [Batching](apis/batching.html) best illustrate what makes Flux unique.
2017-01-30 18:25:34 +00:00
## Installation
*... Charging Ion Capacitors ...*
```julia
2017-03-08 20:52:30 +00:00
Pkg.update()
2017-03-04 13:53:49 +00:00
Pkg.add("Flux.jl")
2017-01-30 18:25:34 +00:00
```
You'll also need a backend to run real training, if you don't have one already. Choose from [MXNet](https://github.com/dmlc/MXNet.jl) or [TensorFlow](https://github.com/malmaud/TensorFlow.jl) (MXNet is the recommended option if you're not sure):
2017-02-01 09:08:30 +00:00
2017-02-01 10:00:24 +00:00
```julia
2017-02-01 09:08:30 +00:00
Pkg.add("MXNet") # or "TensorFlow"
2017-03-01 14:30:41 +00:00
Pkg.test("Flux") # Make sure everything installed properly
2017-02-01 09:08:30 +00:00
```