This release is 136 versions behind 0.168.1 — the latest version of @stsoftware/neat-ai. Jump to latest
@stsoftware/neat-ai@0.121.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
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.
import { assert, assertNotEquals } from "jsr:@std/assert@^1.0.8"; import { Activations } from "../src/methods/activations/Activations.ts"; Deno.test("ActivationNames", () => { Activations.NAMES.forEach((name) => { const activation = Activations.find(name); assert(activation !== undefined, `Could not find activation for ${name}`); assertNotEquals(name, "INVERSE", "INVERSE is not a valid activation"); }); const inverse = Activations.find("INVERSE"); assert(inverse !== undefined, `Could not find activation for INVERSE`); });