NEAT showing wrong inputs and connection count
See original GitHub issuei tried running this script to testing out some basic model
const dataset = [
{ input: [0,0], output: [0] },
{ input: [0,1], output: [1] },
{ input: [1,0], output: [1] },
{ input: [1,1], output: [0] }
];
let Pops = new Neat(2,1);
Pops.evaluate(dataset);
let fittest = Pops.getFittest();
console.log(fittest.toJSON());`
output
{
"nodes": [
{
"bias": 0,
"type": "input",
"squash": "LOGISTIC",
"mask": 1,
"index": 0
},
{
"bias": 0.039815399456396255,
"type": "output",
"squash": "LOGISTIC",
"mask": 1,
"index": 1
}
],
"connections": [
{
"weight": 1.2941470809287727,
"from": 0,
"to": 1,
"gater": null
}
],
"input": 1,
"output": 1,
"dropout": 0
}`
however the json output showing that there’s only one node and one connection, do i missed something ???
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Answered: Nest thermostat won't connect to app
Tap your thermostat on the Nest app home screen, then tap Settings. Scroll down and select Remove thermostat. 2.) On your thermostat, go...
Read more >Add your Nest thermostat to the Nest app - Google Nest Help
1. Connect your thermostat to your Wi-Fi network · 2. Download the Nest app · 3. Create an account in the Nest app...
Read more >More on data validation - Microsoft Support
If users enter more than the limit amount, they see an error message. Data Validation Input and Error Messages. You can choose to...
Read more >Get the most accurate measurements using your Apple Watch
Your Apple Watch uses the personal information that you provide to help calculate metrics for your daily activity. You can further improve ...
Read more >logic gate (AND, OR, XOR, NOT, NAND, NOR and XNOR)
Pull-up and pull-down resistors are used when there are any unused logic gate inputs to connect to a logic level 1 or 0....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi!, Just letting you know that I just tried my earlier code on nodejs and it worked perfectly, however the “type” on “node” is undefined on all nodes.
Looking forward to it!