constructor(settings = {}, container) {
    super({}, container);
    this.perceptronSettings = {};
    this.applySettings(this.perceptronSettings, settings);
    this.applySettings(this.perceptronSettings, defaultSettings);
    if (this.perceptronSettings.log === true) {
      this.logFn = (status, time) => {
        this.logger.info(
          `Epoch ${status.iterations} loss ${status.error} time ${time}ms`
        );
      };
    } else if (typeof this.perceptronSettings.log === 'function') {
      this.logFn = this.perceptronSettings.log;
    }
    this.jsonExport = {
      perceptrons: this.exportPerceptrons,
    };
    this.jsonImport = {
      perceptrons: this.importPerceptrons,
    };
  }
Class for a dense neural network, with an input and output layers fully connected,
using a leaky-relu activation