![JAR search and dependency download from the Maven repository](/logo.png)
gov.sandia.cognition.learning.function.categorization.DiscriminantBinaryCategorizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cognitive-foundry Show documentation
Show all versions of cognitive-foundry Show documentation
A single jar with all the Cognitive Foundry components.
/*
* File: DiscriminantBinaryCategorizer.java
* Authors: Justin Basilico
* Company: Sandia National Laboratories
* Project: Cognitive Foundry Learning Core
*
* Copyright February 03, 2011, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
* license for use of this work by or on behalf of the U.S. Government. Export
* of this program may require a license from the United States Government.
*/
package gov.sandia.cognition.learning.function.categorization;
/**
* Interface for a linear discriminant categorizer in the binary categorization
* domain. It allows the output to be evaluated as a double.
*
* @param
* The type of the input the categorizer can use.
* @author Justin Basilico
* @since 3.1
*/
public interface DiscriminantBinaryCategorizer
extends BinaryCategorizer, DiscriminantCategorizer
{
/**
* Categorizes the given input vector as a double where values greater than
* zero are in the true category and less than zero are in the false
* category. Zero can be treated as unknown or as the true category,
* depending on the categorizer.
*
* @param input
* The input value to categorize.
* @return
* The categorization of the input value where the sign is the
* categorization.
*/
public double evaluateAsDouble(
final InputType input);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy