Published
Edited
Apr 13, 2022
Insert cell
# Brain.js Issue #681
Insert cell
{
const net = new brain.NeuralNetwork();
debugger;
return net.train([
{ input: { anything: 1 }, output: { no_matter: 1 }},
{ input: { constructor: 1, }, output: { whatever: 1 }}
], {
iterations: 5,
log: true,
logPeriod: 1
});
}
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