emel/lazy/ml/neural_network

Functions

pub fn classifier(
  dataset: ZList(#(ZList(Float), String)),
  hidden_layers: ZList(Int),
  learning_rate: Float,
  error_threshold: Float,
  max_iterations: Int,
  seed: Int,
) -> fn(ZList(Float)) -> String
pub fn iterate(
  net: ZList(ZList(Neuron)),
  learning_rate: Float,
  inputs: ZList(ZList(Float)),
  expected_outputs: ZList(ZList(Float)),
  error_threshold: Float,
  countdown: Int,
) -> ZList(ZList(Neuron))
Search Document