public String toString(boolean header){
  StringBuffer temp=new StringBuffer();
  if (m_canopies == null) {
    return "No clusterer built yet";
  }
  if (header) {
    temp.append("\nCanopy clustering\n=================\n");
    temp.append("\nNumber of canopies (cluster centers) found: " + m_canopies.numInstances());
  }
  temp.append("\nT2 radius: " + String.format("%-10.3f",m_t2));
  temp.append("\nT1 radius: " + String.format("%-10.3f",m_t1));
  temp.append("\n\n");
  temp.append(printCanopyAssignments(m_canopies,m_clusterCanopies));
  temp.append("\n");
  return temp.toString();
}

public String toString ( boolean header ) { StringBuffer temp = new StringBuffer ( ) ; if ( m_canopies == null ) { return "No clusterer built yet" ; } if ( header ) { temp . append ( "\nCanopy clustering\n=================\n" ) ; temp . append ( "\nNumber of canopies (cluster centers) found: " + m_canopies . numInstances ( ) ) ; } temp . append ( "\nT2 radius: " + String . format ( "%-10.3f" , m_t2 ) ) ; temp . append ( "\nT1 radius: " + String . format ( "%-10.3f" , m_t1 ) ) ; temp . append ( "\n\n" ) ; temp . append ( printCanopyAssignments ( m_canopies , m_clusterCanopies ) ) ; temp . append ( "\n" ) ; return temp . toString ( ) ; }
return a textual description of this clusterer
