10 lines
276 B
JavaScript
10 lines
276 B
JavaScript
import { Build, Learn, Label } from "./nn.ts";
|
|
import { default as Clean } from "./iris.js";
|
|
|
|
let [ inputs, labels ] = Clean();
|
|
|
|
let layers = Build(4, 10, 3);
|
|
let errors = Learn(inputs, layers, labels, 500, 0.1);
|
|
let output = Label(inputs, layers, true);
|
|
|
|
console.log(output); |