cascading.pattern.model.generalregression
Enum LinkFunction
java.lang.Object
java.lang.Enum<LinkFunction>
cascading.pattern.model.generalregression.LinkFunction
- All Implemented Interfaces:
- Serializable, Comparable<LinkFunction>
public enum LinkFunction
- extends Enum<LinkFunction>
Enum for the LinkFunction in GLM
NONE
public static final LinkFunction NONE
LOGIT
public static final LinkFunction LOGIT
CLOGLOG
public static final LinkFunction CLOGLOG
LOGLOG
public static final LinkFunction LOGLOG
CAUCHIT
public static final LinkFunction CAUCHIT
function
public String function
values
public static LinkFunction[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (LinkFunction c : LinkFunction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LinkFunction valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getFunction
public static LinkFunction getFunction(String functionName)
- Returns the corresponding LinkFunction
- Parameters:
functionName
- String
- Returns:
- LinkFunction
calculate
public abstract double calculate(double value)
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.