Codota Logo
AxisSplitRuleMax
Code IndexAdd Codota to your IDE (free)

How to use
AxisSplitRuleMax
in
org.ddogleg.nn.alg

Best Java code snippets using org.ddogleg.nn.alg.AxisSplitRuleMax (Showing top 5 results out of 315)

  • Common ways to obtain AxisSplitRuleMax
private void myMethod () {
AxisSplitRuleMax a =
  • Codota Iconnew AxisSplitRuleMax()
  • Smart code suggestions by Codota
}
origin: org.ddogleg/ddogleg

/**
 * Defaults to selecting the split axis with maximum variance
 */
public AxisSplitterMedian(KdTreeDistance<P> distance) {
  this(distance,new AxisSplitRuleMax());
}
origin: lessthanoptimal/ddogleg

  @Test
  public void basic() {

    double[] var = new double[]{1,2,3,10,4,5,5,6};

    AxisSplitRuleMax alg = new AxisSplitRuleMax();
    alg.setDimension(var.length);
    int found = alg.select(var);
    assertEquals(3,found);
  }
}
origin: lessthanoptimal/ddogleg

/**
 * Defaults to selecting the split axis with maximum variance
 */
public AxisSplitterMedian(KdTreeDistance<P> distance) {
  this(distance,new AxisSplitRuleMax());
}
origin: lessthanoptimal/ddogleg

/**
 * Creates canonical K-D Tree by selecting the maximum variance axis and splitting the points at the median.
 *
 */
public KdTreeConstructor( KdTreeDistance<P> distance ) {
  this(new KdTreeMemory<>(), new AxisSplitterMedian<>(distance, new AxisSplitRuleMax()));
}
origin: org.ddogleg/ddogleg

/**
 * Creates canonical K-D Tree by selecting the maximum variance axis and splitting the points at the median.
 *
 */
public KdTreeConstructor( KdTreeDistance<P> distance ) {
  this(new KdTreeMemory<>(), new AxisSplitterMedian<>(distance, new AxisSplitRuleMax()));
}
org.ddogleg.nn.algAxisSplitRuleMax

Javadoc

Selects the axis with the largest variance to split.

Most used methods

  • <init>
  • select
  • setDimension

Popular in Java

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • findViewById (Activity)
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now