neural_network_skeleton 0.2.0 copy "neural_network_skeleton: ^0.2.0" to clipboard
neural_network_skeleton: ^0.2.0 copied to clipboard

This package contains the components necessary to build a fully connected Neural Network.

This package contains the components necessary to build a fully connected Neural Network using the Feed Forward algorithm. It lays out the barebones necessary for constructing a Neural Network that will output a set of values based on a given input.

Basic Usage #

Logical OR

const orPerceptron = Perceptron(
  bias: 0.0,
  threshold: 1.0,
  weights: [1.0, 1.0],
);

final neuralNetwork = NeuralNetwork(
  layers: const [
    PerceptronLayer(
      perceptrons: [
          orPerceptron,
      ],
    )
  ],
);

neuralNetwork.guess(inputs: [0.0, 0.0]); // [0.0]
neuralNetwork.guess(inputs: [1.0, 0.0]); // [1.0]
neuralNetwork.guess(inputs: [0.0, 1.0]); // [1.0]
neuralNetwork.guess(inputs: [1.0, 1.0]); // [1.0]

Logical AND & Logical XOR

Check the example file

3
likes
160
pub points
23%
popularity

Publisher

verified publisherimpiam.com

This package contains the components necessary to build a fully connected Neural Network.

Repository (GitHub)
View/report issues

Topics

#neural #network #algorithm #perceptron

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter, json_annotation, json_serializable, path_provider

More

Packages that depend on neural_network_skeleton