Class RandomRBFGeneratorEvents

    • Field Detail

      • modelRandomSeedOption

        public IntOption modelRandomSeedOption
      • instanceRandomSeedOption

        public IntOption instanceRandomSeedOption
      • numClusterOption

        public IntOption numClusterOption
      • numClusterRangeOption

        public IntOption numClusterRangeOption
      • kernelRadiiOption

        public FloatOption kernelRadiiOption
      • kernelRadiiRangeOption

        public FloatOption kernelRadiiRangeOption
      • densityRangeOption

        public FloatOption densityRangeOption
      • speedRangeOption

        public IntOption speedRangeOption
      • noiseLevelOption

        public FloatOption noiseLevelOption
      • noiseInClusterOption

        public FlagOption noiseInClusterOption
      • eventFrequencyOption

        public IntOption eventFrequencyOption
      • eventMergeSplitOption

        public FlagOption eventMergeSplitOption
      • eventDeleteCreateOption

        public FlagOption eventDeleteCreateOption
      • instanceRandom

        protected Random instanceRandom
    • Constructor Detail

      • RandomRBFGeneratorEvents

        public RandomRBFGeneratorEvents()
    • Method Detail

      • getHeader

        public InstancesHeader getHeader()
        Description copied from interface: ExampleStream
        Gets the header of this stream. This is useful to know attributes and classes. InstancesHeader is an extension of weka.Instances.
        Returns:
        the header of this stream
      • estimatedRemainingInstances

        public long estimatedRemainingInstances()
        Description copied from interface: ExampleStream
        Gets the estimated number of remaining instances in this stream
        Returns:
        the estimated number of instances to get from this stream
      • hasMoreInstances

        public boolean hasMoreInstances()
        Description copied from interface: ExampleStream
        Gets whether this stream has more instances to output. This is useful when reading streams from files.
        Returns:
        true if this stream has more instances to output
      • isRestartable

        public boolean isRestartable()
        Description copied from interface: ExampleStream
        Gets whether this stream can restart.
        Returns:
        true if this stream can restart
      • prepareForUseImpl

        public void prepareForUseImpl​(TaskMonitor monitor,
                                      ObjectRepository repository)
        Description copied from class: AbstractOptionHandler
        This method describes the implementation of how to prepare this object for use. All classes that extends this class have to implement prepareForUseImpl and not prepareForUse since prepareForUse calls prepareForUseImpl.
        Specified by:
        prepareForUseImpl in class AbstractOptionHandler
        Parameters:
        monitor - the TaskMonitor to use
        repository - the ObjectRepository to use
      • restart

        public void restart()
        Description copied from interface: ExampleStream
        Restarts this stream. It must be similar to starting a new stream from scratch.
      • generateHeader

        protected void generateHeader()
      • initKernels

        protected void initKernels()
      • nextInstance

        public InstanceExample nextInstance()
        Description copied from interface: ExampleStream
        Gets the next example from this stream.
        Returns:
        the next example of this stream
      • getGeneratingClusters

        public Clustering getGeneratingClusters()
      • getMicroClustering

        public Clustering getMicroClustering()
      • getDescription

        public void getDescription​(StringBuilder sb,
                                   int indent)
        TOOLS
        Parameters:
        sb - the stringbuilder to add the description
        indent - the number of characters to indent
      • addClusterChangeListener

        public void addClusterChangeListener​(ClusterEventListener l)
        Add a listener
      • removeClusterChangeListener

        public void removeClusterChangeListener​(ClusterEventListener l)
        Remove a listener
      • fireClusterChange

        protected void fireClusterChange​(long timestamp,
                                         String type,
                                         String message)
        Fire a ClusterChangeEvent to all registered listeners
      • getParameterString

        public String getParameterString()