Class ISOUPTree.MultitargetPerceptron

    • Field Detail

      • weights

        public double[][] weights
      • instancesSeen

        protected int instancesSeen
    • Method Detail

      • calcByteSize

        public long calcByteSize()
      • getPurposeString

        public String getPurposeString()
      • initializeWeights

        public void initializeWeights()
      • updatePerceptron

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

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

        public void normalizeWeights()
      • prediction

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

        public void getModelDescription​(StringBuilder out,
                                        int indent)