Installation
NEAT-JavaScript can be used in both Node.js and browser environments. Choose your environment below to see the full setup.
Installation with npm
bash
npm install neat-javascriptAvailable Imports
Here are the main components you can import from the library:
javascript
const { Config, ActivationFunction, Gaussian, LeakyReLU, NEATSigmoid, ReLU, SELU, Sigmoid, Tanh, ConnectionGene, ConnectionGeneData, NodeGeneData, GeneticEncoding, BiasNode, HiddenNode, InputNode, NodeGene, NodeType, OutputNode, Genome, Population, Species, FitnessFunction, XOR, InnovationData, InnovationType, InnovationTracker, ConfigTracker, GenomeTracker, NodeTracker, PopulationTracker, StaticManager, WeightInitialization, RandomWeightInitialization, GenomeBuilder} = require('neat-javascript');Next Steps
After installing and configuring the library, check out the following resources to learn more:
- Quick Start Guide — quick examples to get started
- Configuration — detailed configuration options