Annex

v0.1.0

  • Pages
  • Modules

    Annex v0.1.0 Annex.Layer.Neuron View Source

    Link to this section Summary

    Types

    t()

    Functions

    backprop(neuron, total_loss_pd, neuron_loss_pd, learning_rate, activation_deriv)
    feedforward(neuron, inputs)
    get_bias(neuron)
    get_inputs(neuron)
    get_output(neuron)
    get_sum(neuron)
    get_weights(neuron)
    new(weights, bias)
    new_random(size)

    Link to this section Types

    Link to this type

    t() View Source
    t() :: %Annex.Layer.Neuron{
      bias: float(),
      inputs: [float()],
      output: float(),
      sum: float(),
      weights: [float()]
    }

    Link to this section Functions

    Link to this function

    backprop(neuron, total_loss_pd, neuron_loss_pd, learning_rate, activation_deriv) View Source
    backprop(t(), float(), float(), float(), (float() -> float())) ::
      {[float()], t()}

    Link to this function

    feedforward(neuron, inputs) View Source

    Link to this function

    get_bias(neuron) View Source

    Link to this function

    get_inputs(neuron) View Source

    Link to this function

    get_output(neuron) View Source

    Link to this function

    get_sum(neuron) View Source

    Link to this function

    get_weights(neuron) View Source

    Link to this function

    new(weights, bias) View Source

    Link to this function

    new_random(size) View Source

    Built using ExDoc (v0.20.2), designed by Friedel Ziegelmayer for the Elixir programming language.