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)
method Upgrade.correct
Upgrade.correct(
input: number,
): Creature

Corrects the input size of a given creature export and returns a new creature with the corrected input size.

Parameters

  • The exported creature to be corrected.
input: number
  • The new input size to be applied to the creature.

Return Type

A new Creature instance with the corrected input size.

Throws

Will throw an error if the input size is not a positive integer or if it attempts to reduce the input size.

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.

Add Package

deno add jsr:@stsoftware/neat-ai

Import symbol

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

Import directly with a jsr specifier

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