Example usage for weka.clusterers HierarchicalClusterer debugTipText

List of usage examples for weka.clusterers HierarchicalClusterer debugTipText

Introduction

In this page you can find the example usage for weka.clusterers HierarchicalClusterer debugTipText.

Prototype

public String debugTipText() 

Source Link

Document

Returns the tip text for this property

Usage

From source file:wekimini.InputGenerator.java

public void selectHiClusters() throws Exception {
    buildDataset();//from ww  w .  j a  v  a 2 s .c om

    HierarchicalClusterer clusterer = new HierarchicalClusterer();
    clusterer.setLinkType(new SelectedTag(1, HierarchicalClusterer.TAGS_LINK_TYPE));

    clusterer.buildClusterer(dataset);

    logger.log(Level.SEVERE, "EM options: ", clusterer.getOptions());
    logger.log(Level.SEVERE, "EM numCluster tip text: ", clusterer.numClustersTipText());
    logger.log(Level.SEVERE, "EM debug tip text: ", clusterer.debugTipText());
    logger.log(Level.SEVERE, "EM info: ", clusterer.globalInfo());

    int num = clusterer.numberOfClusters();
    String txt = Integer.toString(num);
    logger.log(Level.SEVERE, "EM numberOfClusters: ", txt);

    String text = Integer.toString(numClusters);
    logger.log(Level.SEVERE, "EM numClusters: ", text);
}