zampino / exnn Goto Github PK
View Code? Open in Web Editor NEWAn Elixir Evolutive Neural Network framework à la G.Sher
License: MIT License
An Elixir Evolutive Neural Network framework à la G.Sher
License: MIT License
I added the routines on the README page to the exnn code.
Now I have:
exnn/lib
exnn/lib/exnn # <- exnn base code
exnn/lib/myapp # <- Routines from README code
I run as:
mix test test/examples/xor_test.exs
...
== Compilation error in file lib/my_app/fitness.ex ==
** (ArgumentError) struct fields definition must be list, got: %{inner_temp: 0.0, outer_temp: 40.0}
(elixir) lib/kernel/utils.ex:73: Kernel.Utils.defstruct/2
lib/my_app/fitness.ex:2: (module)
(stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
Struct fields are not a list. Is this a poor compiler error message? Does the compiler
have a problem?
The first few lines of lib/my_app/fitness.ex:
defmodule MyApp.Fitness do
use EXNN.Fitness, state: %{inner_temp: 0.0, outer_temp: 40.0}
My configuration:
iex
Erlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (1.6.6) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
^c^c
erl
Erlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V9.3 (abort with ^G)
1>
I'm assuming this is a version skew problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.