Class StreamingRandomPatches.StreamingRandomPatchesClassifier

    • Field Detail

      • indexOriginal

        public int indexOriginal
      • createdOn

        public long createdOn
      • featureIndexes

        public int[] featureIndexes
      • disableBkgLearner

        public boolean disableBkgLearner
      • disableDriftDetector

        public boolean disableDriftDetector
      • warningDetectionMethod

        protected ChangeDetector warningDetectionMethod
      • isBackgroundLearner

        public boolean isBackgroundLearner
      • numberOfDriftsDetected

        public int numberOfDriftsDetected
      • numberOfWarningsDetected

        public int numberOfWarningsDetected
      • numberOfDriftsInduced

        public int numberOfDriftsInduced
      • numberOfWarningsInduced

        public int numberOfWarningsInduced
    • Method Detail

      • prepareRandomSubspaceInstance

        public void prepareRandomSubspaceInstance​(Instance instance,
                                                  double weight)
      • reset

        public void reset​(Instance instance,
                          long instancesSeen,
                          Random random)
      • trainOnInstance

        public void trainOnInstance​(Instance instance,
                                    double weight,
                                    long instancesSeen,
                                    Random random)
      • triggerWarning

        public void triggerWarning​(Instance instance,
                                   long instancesSeen,
                                   Random random)
      • getVotesForInstance

        public double[] getVotesForInstance​(Instance instance)
        Parameters:
        instance -
        Returns:
        votes for the given instance