kotoamatsukami
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

ktoamatsukami

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

Package Sidebar

Install

npm i kotoamatsukami

Weekly Downloads

2

Version

0.1.0

License

Apache-2.0

Unpacked Size

30.1 kB

Total Files

17

Last publish

Collaborators

  • mathletedev