com.linkedin.dagli.math.vector.VectorElementPredicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of math-vector Show documentation
Show all versions of math-vector Show documentation
DAG-oriented machine learning framework for bug-resistant, readable, efficient, maintainable and trivially deployable models in Java and other JVM languages
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