samoa-api/src/main/java/org/apache/samoa/learners/classifiers/rules/common/Perceptron.java [113:127]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    this.nError = p.nError;
    this.fadingFactor = p.fadingFactor;
    this.learningRatio = p.learningRatio;
    this.learningRateDecay = p.learningRateDecay;
    if (p.weightAttribute != null)
      this.weightAttribute = p.weightAttribute.clone();

    this.perceptronattributeStatistics = new DoubleVector(p.perceptronattributeStatistics);
    this.squaredperceptronattributeStatistics = new DoubleVector(p.squaredperceptronattributeStatistics);
    this.perceptronInstancesSeen = p.perceptronInstancesSeen;

    this.initialisePerceptron = p.initialisePerceptron;
    this.perceptronsumY = p.perceptronsumY;
    this.squaredperceptronsumY = p.squaredperceptronsumY;
    this.perceptronYSeen = p.perceptronYSeen;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



samoa-api/src/main/java/org/apache/samoa/learners/classifiers/rules/common/Perceptron.java [134:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    this.nError = p.nError;
    this.fadingFactor = p.fadingFactor;
    this.learningRatio = p.learningRatio;
    this.learningRateDecay = p.learningRateDecay;
    if (p.weightAttribute != null)
      this.weightAttribute = p.weightAttribute.clone();

    this.perceptronattributeStatistics = new DoubleVector(p.perceptronattributeStatistics);
    this.squaredperceptronattributeStatistics = new DoubleVector(p.squaredperceptronattributeStatistics);
    this.perceptronInstancesSeen = p.perceptronInstancesSeen;

    this.initialisePerceptron = p.initialisePerceptron;
    this.perceptronsumY = p.perceptronsumY;
    this.squaredperceptronsumY = p.squaredperceptronsumY;
    this.perceptronYSeen = p.perceptronYSeen;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



