congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
HDBSCANHierarchyExtraction$TempCluster.totalElements
Code IndexAdd Tabnine to your IDE (free)

How to use
totalElements
method
in
de.lmu.ifi.dbs.elki.algorithm.clustering.hierarchical.extraction.HDBSCANHierarchyExtraction$TempCluster

Best Java code snippets using de.lmu.ifi.dbs.elki.algorithm.clustering.hierarchical.extraction.HDBSCANHierarchyExtraction$TempCluster.totalElements (Showing top 9 results out of 315)

origin: elki-project/elki

/**
 * Cluster containing two existing clusters.
 *
 * @param dist Distance
 * @param a First cluster
 * @param b Second cluster
 */
public TempCluster(double dist, TempCluster a, TempCluster b) {
 this.dist = dist;
 this.children.add(a);
 this.children.add(b);
 this.childrenTotal = a.totalElements() + b.totalElements();
 this.aggregate = this.childrenTotal / dist;
}
origin: de.lmu.ifi.dbs.elki/elki-clustering

/**
 * Cluster containing two existing clusters.
 *
 * @param dist Distance
 * @param a First cluster
 * @param b Second cluster
 */
public TempCluster(double dist, TempCluster a, TempCluster b) {
 this.dist = dist;
 this.children.add(a);
 this.children.add(b);
 this.childrenTotal = a.totalElements() + b.totalElements();
 this.aggregate = this.childrenTotal / dist;
}
origin: de.lmu.ifi.dbs.elki/elki

/**
 * Cluster containing two existing clusters.
 *
 * @param dist Distance
 * @param a First cluster
 * @param b Second cluster
 */
public TempCluster(double dist, TempCluster a, TempCluster b) {
 this.dist = dist;
 this.children.add(a);
 this.children.add(b);
 this.childrenTotal = a.totalElements() + b.totalElements();
 this.aggregate = this.childrenTotal / dist;
}
origin: de.lmu.ifi.dbs.elki/elki-clustering

/**
 * Excess of mass measure.
 *
 * @return Excess of mass
 */
public double excessOfMass() {
 return aggregate - totalElements() / dist;
}
origin: de.lmu.ifi.dbs.elki/elki

/**
 * Excess of mass measure.
 *
 * @return Excess of mass
 */
public double excessOfMass() {
 return aggregate - totalElements() / dist;
}
origin: de.lmu.ifi.dbs.elki/elki

/**
 * Reset the aggregate (for spurious clusters).
 *
 * @return {@code this}
 */
public TempCluster resetAggregate() {
 aggregate = totalElements() / dist;
 return this;
}
origin: elki-project/elki

/**
 * Excess of mass measure.
 *
 * @return Excess of mass
 */
public double excessOfMass() {
 return aggregate - totalElements() / dist;
}
origin: elki-project/elki

/**
 * Reset the aggregate (for spurious clusters).
 *
 * @return {@code this}
 */
public TempCluster resetAggregate() {
 aggregate = totalElements() / dist;
 return this;
}
origin: de.lmu.ifi.dbs.elki/elki-clustering

/**
 * Reset the aggregate (for spurious clusters).
 *
 * @return {@code this}
 */
public TempCluster resetAggregate() {
 aggregate = totalElements() / dist;
 return this;
}
de.lmu.ifi.dbs.elki.algorithm.clustering.hierarchical.extractionHDBSCANHierarchyExtraction$TempClustertotalElements

Javadoc

Total number of elements in this subtree.

Popular methods of HDBSCANHierarchyExtraction$TempCluster

  • <init>
    Constructor.
  • excessOfMass
    Excess of mass measure.
  • grow
    Add new objects to the cluster.
  • isSpurious
    Test if a cluster is spurious.
  • resetAggregate
    Reset the aggregate (for spurious clusters).
  • totalStability
    Excess of mass measure.
  • collectChildren
    Recursive flattening of clusters.
  • finalizeCluster
    Make the cluster for the given object

Popular in Java

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JComboBox (javax.swing)
  • JFileChooser (javax.swing)
  • JList (javax.swing)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now