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

Dann applyToModel

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

Back to Dann

applyToModel( data );

Applies a dannData object.

  • data

    dannData object, you can get this object from a yourmodel.dataObject();.
    See docs here.

Example

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

const dannData = nn.dataObject();

const newNN = new Dann();
newNN.applyToModel(dannData);

newNN.log();