0.1.0 • Published 3 years ago

kotoamatsukami v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

A TypeScript ML library

Installation

NPM

npm install kotoamatsukami

Yarn

yarn add kotoamatsukami

Example

import { Network } from "kotoamatsukami";

const network = new Network([2, 3, 1]);

const inputs = [
	[0, 0],
	[1, 0],
	[0, 1],
	[1, 1]
];

const targets = [[0], [1], [1], [0]];

network.train(inputs, targets, 1000, true);

console.log(network.predict([0, 1]));

License

Apache License 2.0

0.1.0

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago