Published
Edited
Feb 6, 2020
Insert cell
Insert cell
{
const test = [{ input: [1], output: [1] }];
net.train(test, { iterations: 1 });
return [
typeof test[0].output,
typeof net.run(test[0].input),
test[0].output,
net.run(test[0].input)
];
}
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more