Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Dann createFromObject

Matias Vazquez-Levi edited this page Feb 1, 2021 · 2 revisions

Back to Dann

createFromObject( );

Static function

Creates a Dann model from a dannData object.
  • returns

    a Dann model.

Example

const nn = new Dann(24,4);
nn.addHiddenLayer(12,'sigmoid');
nn.makeWeights();
const dannData = nn.dataObject();

const newNN = Dann.createFromObject(dannData);
newNN.log();