All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.linkedin.dagli.math.vector.VectorElementPredicate Maven / Gradle / Ivy

Go to download

DAG-oriented machine learning framework for bug-resistant, readable, efficient, maintainable and trivially deployable models in Java and other JVM languages

There is a newer version: 15.0.0-beta9
Show newest version
package com.linkedin.dagli.math.vector;

/**
 * Interface for performing some boolean test against a vector element.
 */
@FunctionalInterface
public interface VectorElementPredicate {
  /**
   * Tests the provided vector element.
   *
   * @param index the index of the element
   * @param value the value of the element
   * @return true or false indicates success or failure of the test.
   */
  boolean test(long index, double value);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy