Package de.lmu.ifi.dbs.elki.result

Examples of de.lmu.ifi.dbs.elki.result.BasicResult


    // We don't need m anymore.
    m.destroy();
    m = null;

    // build dendrogram
    BasicResult result = null;

    // Build clusters identified by their target object
    int minc = minclusters != null ? minclusters : distQuery.getRelation().size();
    result = extractClusters(distQuery.getRelation().getDBIDs(), pi, lambda, minc);

    result.addChildResult(new MaterializedRelation<DBID>("SLINK pi", "slink-order", TypeUtil.DBID, pi, processedIDs));
    result.addChildResult(new MaterializedRelation<D>("SLINK lambda", "slink-order", new SimpleTypeInformation<D>(distCls), lambda, processedIDs));
    result.addChildResult(new OrderingFromDataStore<D>("SLINK order", "slink-order", processedIDs, lambda));
    return result;
  }
View Full Code Here


   *
   * @param database Database
   * @return Algorithm result
   */
  public HierarchicalResult runAlgorithms(Database database) {
    result = new BasicResult("Algorithm Step", "main");
    result.addChildResult(database);
    if(logger.isVerbose() && database.getIndexes().size() > 0) {
      StringBuffer buf = new StringBuffer();
      buf.append("Index statistics before running algorithms:").append(FormatUtil.NEWLINE);
      for(Index idx : database.getIndexes()) {
View Full Code Here

   *
   * @param database Database
   * @return Algorithm result
   */
  public HierarchicalResult runAlgorithms(Database database) {
    result = new BasicResult("Algorithm Step", "main");
    result.addChildResult(database);
    if(logger.isVerbose() && database.getIndexes().size() > 0) {
      StringBuffer buf = new StringBuffer();
      buf.append("Index statistics before running algorithms:").append(FormatUtil.NEWLINE);
      for(Index idx : database.getIndexes()) {
View Full Code Here

    // We don't need m anymore.
    m.destroy();
    m = null;

    // build dendrogram
    BasicResult result = null;

    // Build clusters identified by their target object
    int minc = minclusters != null ? minclusters : relation.size();
    result = extractClusters(relation.getDBIDs(), pi, lambda, minc);

    result.addChildResult(new MaterializedRelation<DBID>("SLINK pi", "slink-order", TypeUtil.DBID, pi, processedIDs));
    result.addChildResult(new MaterializedRelation<D>("SLINK lambda", "slink-order", new SimpleTypeInformation<D>(distCls), lambda, processedIDs));
    result.addChildResult(new OrderingFromDataStore<D>("SLINK order", "slink-order", processedIDs, lambda));
    return result;
  }
View Full Code Here

TOP

Related Classes of de.lmu.ifi.dbs.elki.result.BasicResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.