Class SelfOptimisingBaseTree.FIMTDDPerceptron

    • Field Detail

      • sumOfValues

        protected double sumOfValues
      • sumOfSquares

        protected double sumOfSquares
      • instancesSeen

        protected double instancesSeen
      • reset

        protected boolean reset
    • Method Detail

      • getPurposeString

        public String getPurposeString()
      • updatePerceptron

        public void updatePerceptron​(Instance inst)
        Update the model using the provided instance
      • updateWeights

        public void updateWeights​(Instance inst,
                                  double learningRatio)
      • prediction

        public double prediction​(DoubleVector instanceValues)
        Output the prediction made by this perceptron on the given instance
      • prediction

        protected double prediction​(Instance inst)
      • getModelDescription

        public void getModelDescription​(StringBuilder out,
                                        int indent)