Skip to content

jcbritobr/flux-xor-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xor Gate problem solved with Julia and Flux

This is a simple example showing how to solve a xor gate problem using flux package and julia language. The example uses a model with 2 input, 2 neurons in hidden layer and 1 neuron on output. The model is treined with 5K epochs and learning rate 0.01. The results below are precise.

  • Loss plot

  • Output and results
0.0009724368f0

1×4 Matrix{Float32}:
 0.0339698  0.968825  0.96901  0.0283466

About

Simple flux model thats solves the xor problem.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages