Documentation of 'cc.mallet.cluster.neighbor_evaluator.RandomEvaluator' Java class
RandomEvaluator
cc.mallet.cluster.neighbor_evaluator

Class RandomEvaluator

    • Constructor Detail

      • RandomEvaluator

        public RandomEvaluator(Randoms random)
    • Method Detail

      • evaluate

        public double evaluate(Neighbor neighbor)
        Specified by:
        evaluate in interface NeighborEvaluator
        Parameters:
        neighbor -
        Returns:
        A higher score indicates that the modified Clustering is preferred.
      • evaluate

        public double[] evaluate(Neighbor[] neighbors)
        Specified by:
        evaluate in interface NeighborEvaluator
        Parameters:
        neighbors -
        Returns:
        One score per neighbor. A higher score indicates that the modified Clustering is preferred.
      • reset

        public void reset()
        Reset the state of the evaluator.
        Specified by:
        reset in interface NeighborEvaluator

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.