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.connect
Creature.prototype.connect(
from: number,
to: number,
weight: number,
type?:
"positive"
| "negative"
| "condition"
,
): Synapse

Connect two neurons with a synapse.

Parameters

from: number
  • The index of the source neuron.
  • The index of the target neuron.
weight: number
  • The weight of the synapse.
optional
type:
"positive"
| "negative"
| "condition"
  • The type of the synapse.

Return Type

Synapse

The created synapse.

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";