Flux.jl/docs/src/index.md

40 lines
1.7 KiB
Markdown
Raw Normal View History

2017-01-16 00:46:50 +00:00
# Flux
2017-01-16 16:51:21 +00:00
2017-05-03 18:57:23 +00:00
*... Initialising Photon Beams ...*
2017-05-03 19:13:31 +00:00
Flux is a library for machine learning, implemented in Julia. In a nutshell, it simply lets you run normal Julia code on a backend like TensorFlow. It also provides many conveniences for doing deep learning.
2017-01-16 16:51:21 +00:00
2017-05-03 19:13:31 +00:00
Flux is very flexible. You can use a convenient Keras-like API if you want something simple, but you can also drop down to straight mathematics, or build your own abstractions. You can even use Flux's utilities (like optimisers) with a completely different backend (like [Knet](https://github.com/denizyuret/Knet.jl)) or mix and match approaches.
2017-01-16 16:51:21 +00:00
2017-05-03 18:15:41 +00:00
Note that Flux is in alpha. Many things work but the API is still in a state of... well, it might change.
2017-01-16 16:51:21 +00:00
2017-05-02 12:38:37 +00:00
**Note:** If you're using Julia v0.5 please see [this version](http://mikeinnes.github.io/Flux.jl/v0.1.1/) of the docs instead.
2017-02-24 15:48:45 +00:00
## Where do I start?
2017-05-03 18:57:23 +00:00
*... Charging Ion Capacitors ...*
2017-05-04 16:01:22 +00:00
The [examples](examples/logreg.html) give a feel for high-level usage.
2017-02-24 15:48:45 +00:00
2017-05-04 16:01:22 +00:00
If you want to know why Flux is unique, or just don't want to see *those digits* again, check out the [model building guide](models/basics.html) instead.
Flux is meant to be played with. These docs have lots of code snippets; try them out in [Juno](http://junolab.org)!
2017-01-30 18:25:34 +00:00
## Installation
2017-05-03 18:57:23 +00:00
*... Inflating Graviton Zeppelins ...*
2017-01-30 18:25:34 +00:00
```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
```
2017-05-02 12:38:37 +00:00
**Note:** TensorFlow integration may not work properly on Julia v0.6 yet.