Skip to main content
Home
This release is 136 versions behind 0.168.1 — 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
5 months ago (0.121.0)
Package root>test>ActivationNames.ts
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`); });