liquidcarrot / carrot

🥕 Evolutionary Neural Networks in JavaScript
https://liquidcarrot.io/carrot/
MIT License
293 stars 34 forks source link

Add architecture test for Hopfield Network #221

Open christianechevarria opened 4 years ago

christianechevarria commented 4 years ago

Description

There are currently no tests to enforce correct construction of Hopfield Networks inside architect this resulted in issue #220

Tasks

Include specific tasks in the order they need to be done in. Include links to specific lines of code where the task should happen at.

raimannma commented 4 years ago

222 Fixed the Hopfield network construction

Implemented a test in the TypeScript version: https://github.com/liquidcarrot/carrot/blob/d3b142107e166bfc70b3aa7e9572344d86c01ad0/test/units/architecture/ArchitectTest.ts#L141-L174