Skip to main content

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
100%
Published
15 hours ago (0.165.6)

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

method Creature.prototype.inFocus
Creature.prototype.inFocus(
index: number,
focusList?: number[],
checked?: Set<number>,
): boolean

Check if a neuron is in focus.

Parameters

index: number
  • The index of the neuron.
optional
focusList: number[]
  • The list of focus indices.
optional
checked: Set<number>
  • The set of checked indices.

Return Type

True if the neuron is in focus, false otherwise.

Add Package

deno add jsr:@stsoftware/neat-ai

Import symbol

import { Creature } from "@stsoftware/neat-ai";

---- OR ----

Import directly with a jsr specifier

import { Creature } from "jsr:@stsoftware/neat-ai";