Coder Social home page Coder Social logo

distne's People

Contributors

aarontheape avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

distne's Issues

Investigate strange :rand error

Aarons-MacBook-Pro:distne aaron$ mix test
test/distne/method/neat/id_gen_test.exs:12: warning: variable expected_innov_num is unused
test/distne/method/neat/id_gen_test.exs:29: warning: variable expected_node_id is unused
test/distne/method/neat/pop_test.exs:6: warning: unused alias ConGene
test/distne/method/neat/pop_test.exs:4: warning: unused alias Genome
test/distne/method/neat/pop_test.exs:5: warning: unused alias IdGen
test/distne/task/bit_parity/bit_parity_monitor_test.exs:12: warning: variable bias is unused
test/distne/task/bit_parity/bit_parity_monitor_test.exs:12: warning: variable bit1 is unused
test/distne/task/bit_parity/bit_parity_monitor_test.exs:12: warning: variable bit2 is unused
test/distne/method/neat/genome_test.exs:94: warning: variable mutated_genome is unused
.............

  1. test add node mutation test (Distne.Method.Neat.GenomeTest)
    test/distne/method/neat/genome_test.exs:72
    ** (FunctionClauseError) no function clause matching in :rand.uniform_s/2
    stacktrace:
    (stdlib) rand.erl:145: :rand.uniform_s(0, {%{max: 288230376151711743, next: #Function<8.45830090/1 in :rand.mk_alg/1>, type: :exsplus, uniform: #Function<9.45830090/1 in :rand.mk_alg/1>, uniform_n: #Function<10.45830090/2 in :rand.mk_alg/1>}, [237249922815891233 | 248686530045990760]})
    (stdlib) rand.erl:128: :rand.uniform/1
    (distne) lib/distne/method/neat/genome.ex:32: Distne.Method.Neat.Genome.add_node/2
    test/distne/method/neat/genome_test.exs:80

...[0.8503030242318204, -0.9862713704968172, 0.199922162700134,
-0.7104063413389878]
..........

Finished in 0.5 seconds (0.2s on load, 0.2s on tests)
27 tests, 1 failures

Randomized with seed 781348

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.