Skip to main content
This release is 126 versions behind 0.166.0 — the latest version of @stsoftware/neat-ai. Jump to latest

Built and signed on GitHub Actions

NEAT Neural Network. This project is a unique implementation of a neural network based on the NEAT (NeuroEvolution of Augmenting Topologies) algorithm, written in DenoJS using TypeScript.

This package works with Deno
This package works with Deno
JSR Score
94%
Published
4 months ago (0.121.0)
Package root>bench>makeActivation.ts
import { Creature } from "../src/Creature.ts"; import { CreatureState } from "../src/architecture/CreatureState.ts"; const inputs: number[] = []; for (let i = 0; i < 1000; i++) { inputs[i] = Math.random(); } const creature = new Creature(inputs.length, 3, { layers: [{ count: 1000 }] }); const ns = new CreatureState(creature); Deno.bench("makeActivation", () => { ns.makeActivation(inputs, false); });