Bardo.Examples.Simple.Xor (Bardo v0.1.0)
View SourceA simple example demonstrating how to evolve a neural network to solve the XOR problem.
This is a self-contained example that doesn't rely on the full machinery of the population and experiment managers, making it easier to understand and a good starting point.
Summary
Functions
Run the XOR example.
Functions
Run the XOR example.
Options
:population_size
- size of the population (default: 100):max_generations
- maximum number of generations (default: 50):show_progress
- show progress during evolution (default: true):verbose
- show detailed information (default: false)
Examples
iex> Bardo.Examples.Simple.Xor.run()
# With custom parameters
iex> Bardo.Examples.Simple.Xor.run(population_size: 150, max_generations: 100)