Tabnine Logo
Tuple.getSecond
Code IndexAdd Tabnine to your IDE (free)

How to use
getSecond
method
in
de.jungblut.math.tuple.Tuple

Best Java code snippets using de.jungblut.math.tuple.Tuple.getSecond (Showing top 6 results out of 315)

origin: de.jungblut.jrpt/jrpt

@Override
public void constructWithPayload(Stream<Tuple<DoubleVector, VALUE>> pairs) {
 pairs.forEach((v) -> add(v.getFirst(), v.getSecond()));
}
origin: de.jungblut.common/thomasjungblut-common

  @Override
  public CostGradientTuple call() throws Exception {
    return evaluateBatch(parameters, featureOutcome.getFirst(),
        featureOutcome.getSecond());
  }
}
origin: de.jungblut.common/thomasjungblut-common

/**
 * Constructs the similarity aggregation by seed tokens to expand and a given
 * bipartite graph. The bipartite graph is represented as a three tuple, which
 * consists of the vertices (called (candidate-) terms or entities) on the
 * first item, the context vertices on the second item and the edges between
 * those is a NxM matrix, where n is the entity tokens count and m is the
 * number of the context vertices. Alpha is the constant weighting factor used
 * throughout the paper (usually 0.5). The distance measurer to be used must
 * be also defined.
 */
public IterativeSimilarityAggregation(String[] seedTokens,
                   Tuple<String[], DoubleMatrix> bipartiteGraph, double alpha,
                   DistanceMeasurer distance) {
  this.seedTokens = seedTokens;
  this.termNodes = bipartiteGraph.getFirst();
  // make sure we transpose to have a better distance lookup
  this.weightMatrix = bipartiteGraph.getSecond().transpose();
  this.alpha = alpha;
  this.similarityMeasurer = new SimilarityMeasurer(distance);
  init();
}
origin: de.jungblut.common/thomasjungblut-common

globalBestPosition = tuple.getSecond();
origin: de.jungblut.common/thomasjungblut-common

    featureIterator, outcomeIterator);
int numDistinctClasses = first.getSecond().getDimension();
observe(first.getFirst(), first.getSecond(), numDistinctClasses,
    tokenPerClass, numDocumentsPerClass);
int numDocumentsSeen = 1;
while ((first = Iterables.consumeNext(featureIterator, outcomeIterator)) != null) {
  observe(first.getFirst(), first.getSecond(), numDistinctClasses,
      tokenPerClass, numDocumentsPerClass);
  numDocumentsSeen++;
origin: de.jungblut.common/thomasjungblut-common

      filtered.getSecond(), newPossibleFeatures, level + 1);
  cIndex++;
    filterNumeric.getSecond(), new TIntHashSet(newPossibleFeatures),
    level + 1);
AbstractTreeNode higher = build(filterNumericHigher.getFirst(),
    filterNumericHigher.getSecond(),
    new TIntHashSet(newPossibleFeatures), level + 1);
de.jungblut.math.tupleTuplegetSecond

Popular methods of Tuple

  • getFirst
  • <init>

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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