How to use the @nlpjs/neural.NeuralNetwork function in @nlpjs/neural

To help you get started, we’ve selected a few @nlpjs/neural examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github axa-group / nlp.js / packages / nlu / src / nlu-neural.js View on Github external
innerTrain(srcInput) {
    const input = srcInput;
    this.neuralNetwork = new NeuralNetwork(input.settings, this.container);
    input.status = this.neuralNetwork.train(input.corpus);
    return input;
  }
github axa-group / nlp.js / packages / nlu / src / nlu-neural.js View on Github external
fromJSON(json) {
    super.fromJSON(json);
    this.neuralNetwork = new NeuralNetwork();
    this.neuralNetwork.fromJSON(json.neuralNetwork);
  }
}

@nlpjs/neural

Neural Network

MIT
Latest version published 2 years ago

Package Health Score

65 / 100
Full package analysis

Popular @nlpjs/neural functions

Similar packages