How to use @nlpjs/neural - 2 common examples

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 1 year ago

Package Health Score

73 / 100
Full package analysis

Popular @nlpjs/neural functions