diff --git a/latest/contributing.html b/latest/contributing.html index f81cddcf..a91c814f 100644 --- a/latest/contributing.html +++ b/latest/contributing.html @@ -92,7 +92,7 @@ Contributing & Help - + diff --git a/latest/index.html b/latest/index.html index 236b6b66..96a12edc 100644 --- a/latest/index.html +++ b/latest/index.html @@ -92,7 +92,7 @@ Home - + diff --git a/latest/manual/basics.html b/latest/manual/basics.html index 7a3d909c..3435b7f6 100644 --- a/latest/manual/basics.html +++ b/latest/manual/basics.html @@ -56,7 +56,23 @@ Getting Started Basics - +
  • @@ -95,7 +111,7 @@ Basics
  • - + @@ -109,11 +125,45 @@ Basics Basic Usage +

    + +Installation + +

    +
    Pkg.clone("https://github.com/MikeInnes/DataFlow.jl")
    +Pkg.clone("https://github.com/MikeInnes/Flux.jl")
    +

    + +The Model + +

    -Charging Ion Capacitors +Charging Ion Capacitors...

    +

    +The core concept in Flux is that of the + +model + +. A model is simply a function with parameters. In Julia, we might define the following function: +

    +
    W = randn(3,5)
    +b = randn(3)
    +affine(x) = W*x + b
    +
    +x1 = randn(5)
    +affine(x1)
    +> 3-element Array{Float64,1}:
    +   -0.0215644
    +   -4.07343  
    +    0.312591
    +

    + +An MNIST Example + +