lnsc
Class DataNames

java.lang.Object
  |
  +--lnsc.DataNames
Direct Known Subclasses:
LSTMDataNames

public class DataNames
extends java.lang.Object

This class contains constants for reserved keywords used by the package to store and retrieve data in a DataSet or in a DataSetCollection.

Since:
1.0
See Also:
DataSet, DataSetCollection

Field Summary
static java.lang.String ANALYSIS
           
static java.lang.String BEST_CANDIDATE
           
static java.lang.String BEST_SCORE
           
static java.lang.String CANDIDATE_COVARIANCES
           
static java.lang.String CANDIDATE_DERIVATIVES
           
static java.lang.String CANDIDATE_OPTIMIZATIONS
           
static java.lang.String CANDIDATE_SCORES
           
static java.lang.String CANDIDATE_VALUES
           
static java.lang.String CANDIDATE_WEIGHTS
           
static java.lang.String DERIVATIVES
          An array of the form double[p][o][i] where p is usually defined by PATTERN_COUNT, o by FunctionalUnit.getOutputCount(), and i by FunctionalUnit.getInputCount().
static java.lang.String[] EMPTY_RECORDLIST
          Defines an empty record list.
static java.lang.String ENDPHASE_ANALYSIS
           
static java.lang.String EPOCH
           
static java.lang.String ERROR_PATTERNS
          An array of the form double[p][o] where p is usually defined by PATTERN_COUNT and o by FunctionalUnit.getOutputCount().
static java.lang.String EXTRA_DATA
          A DataSetCollection where the number of pattern is usually defined by PATTERN_COUNT.
static java.lang.String FAHLMAN_SUM_SQUARED_ERROR
           
static java.lang.String GRADIENT
           
static java.lang.String GRADIENTS
           
static java.lang.String HIDDEN_DERIVATIVES
           
static java.lang.String HIDDEN_SECOND_DERIVATIVES
           
static java.lang.String INPUT_PATTERNS
          An array of the form double[p][i] where p is usually defined by PATTERN_COUNT and i by FunctionalUnit.getInputCount().
static java.lang.String INSTALLED_CANDIDATE_NAME
           
static java.lang.String INTERMEDIATE_OUTPUTS
           
static java.lang.String INTERNAL_DERIVATIVES
           
static java.lang.String INTERNAL_OUTPUTS
           
static java.lang.String INTERNAL_SECOND_DERIVATIVES
           
static java.lang.String LAYER_DERIVATIVES
           
static java.lang.String LAYER_OUTPUTS
           
static java.lang.String MEAN_ERROR
           
static java.lang.String NET_INPUT
           
static java.lang.String OPTIMIZATION
           
static java.lang.String OUTPUT_PATTERNS
          An array of the form double[p][o] where p is usually defined by PATTERN_COUNT and o by FunctionalUnit.getOutputCount().
static java.lang.String OUTPUT_WEIGHTS
           
static java.lang.String OUTPUTLAYER_DERIVATIVES
           
static java.lang.String OUTPUTLAYER_SECOND_DERIVATIVES
           
static java.lang.String PARAMETER_DERIVATIVES
          An array of the form double[p][o][k] where p is usually defined by PATTERN_COUNT, o by FunctionalUnit.getOutputCount(), and k by FunctionalUnit2#getParameterCount.
static java.lang.String PARAMETER_SECOND_DERIVATIVES
          An array of the form double[p][o][k][k] where p is usually defined by PATTERN_COUNT, o by FunctionalUnit.getOutputCount(), k by FunctionalUnit2#getParameterCount.
static java.lang.String PARAMETERS
          An array of the form double[p][k] where p is usually defined by PATTERN_COUNT, k by FunctionalUnit2#getParameterCount.
static java.lang.String PATTERN_COUNT
          An Integer indicating the number of patterns.
static java.lang.String PHASE
           
static java.lang.String SECOND_DERIVATIVES
          An array of the form double[p][o][i][i] where p is usually defined by PATTERN_COUNT, o by FunctionalUnit.getOutputCount(), and i by FunctionalUnit.getInputCount().
static java.lang.String STAT_CONTRIBUTIONS
           
static java.lang.String STAT_CORR_MATRIX
           
static java.lang.String STAT_COV_MATRIX
           
static java.lang.String STAT_ERROR_BITS
           
static java.lang.String STAT_FAHLMAN_ERROR_PAT
           
static java.lang.String STAT_FROBENIUS_NORM
           
static java.lang.String STAT_HALFMSE
           
static java.lang.String STAT_HALFSSE
           
static java.lang.String STAT_LOGSSE
           
static java.lang.String STAT_MEAN_SQUARED
           
static java.lang.String STAT_MEAN_VECTOR
           
static java.lang.String STAT_MSE
           
static java.lang.String STAT_NORM_COV
           
static java.lang.String STAT_SSE
           
static java.lang.String STAT_SUM_SQUARED
           
static java.lang.String STAT_TRS
           
static java.lang.String STOPPING_REASON
           
static java.lang.String SUM_SQUARED_ERROR
           
static java.lang.String TARGET_PATTERNS
          An array of the form double[p][o][i][i] where p is usually defined by PATTERN_COUNT and o by FunctionalUnit.getOutputCount().
static java.lang.String TEST_SET
          A DataSet containing at least INPUT_PATTERNS, TARGET_PATTERNS and PATTERN_COUNT.
static java.lang.String TRAIN_SET
          A DataSet containing at least INPUT_PATTERNS, TARGET_PATTERNS and PATTERN_COUNT.
static java.lang.String UPDATE_VALUES
           
static java.lang.String VALUE
           
static java.lang.String VARIABLE_CHANGES
           
static java.lang.String VARIABLES
           
static java.lang.String WEIGHT_UPDATE_COUNT
           
 
Method Summary
static java.lang.String[] concat(java.lang.String[] list1, java.lang.String[] list2)
          Concatenates two lists of keywords in one.
static boolean isMember(java.lang.String keyword, java.lang.String[] keywordsList)
          Indicates whether a given keyword is a member of a given keyword list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANALYSIS

public static final java.lang.String ANALYSIS
See Also:
Constant Field Values

BEST_CANDIDATE

public static final java.lang.String BEST_CANDIDATE
See Also:
Constant Field Values

BEST_SCORE

public static final java.lang.String BEST_SCORE
See Also:
Constant Field Values

CANDIDATE_COVARIANCES

public static final java.lang.String CANDIDATE_COVARIANCES
See Also:
Constant Field Values

CANDIDATE_DERIVATIVES

public static final java.lang.String CANDIDATE_DERIVATIVES
See Also:
Constant Field Values

CANDIDATE_OPTIMIZATIONS

public static final java.lang.String CANDIDATE_OPTIMIZATIONS
See Also:
Constant Field Values

CANDIDATE_SCORES

public static final java.lang.String CANDIDATE_SCORES
See Also:
Constant Field Values

CANDIDATE_VALUES

public static final java.lang.String CANDIDATE_VALUES
See Also:
Constant Field Values

CANDIDATE_WEIGHTS

public static final java.lang.String CANDIDATE_WEIGHTS
See Also:
Constant Field Values

DERIVATIVES

public static final java.lang.String DERIVATIVES
An array of the form double[p][o][i] where p is usually defined by PATTERN_COUNT, o by FunctionalUnit.getOutputCount(), and i by FunctionalUnit.getInputCount().

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

EMPTY_RECORDLIST

public static final java.lang.String[] EMPTY_RECORDLIST
Defines an empty record list.


ENDPHASE_ANALYSIS

public static final java.lang.String ENDPHASE_ANALYSIS
See Also:
Constant Field Values

EPOCH

public static final java.lang.String EPOCH
See Also:
Constant Field Values

ERROR_PATTERNS

public static final java.lang.String ERROR_PATTERNS
An array of the form double[p][o] where p is usually defined by PATTERN_COUNT and o by FunctionalUnit.getOutputCount(). It is usually the elementwise subtraction of OUTPUT_PATTERNS minus TARGET_PATTERNS.

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

EXTRA_DATA

public static final java.lang.String EXTRA_DATA
A DataSetCollection where the number of pattern is usually defined by PATTERN_COUNT. It is usually the elementwise to the INPUT_PATTERNS array.

See Also:
FunctionalUnit2#processPattern, Constant Field Values

FAHLMAN_SUM_SQUARED_ERROR

public static final java.lang.String FAHLMAN_SUM_SQUARED_ERROR
See Also:
Constant Field Values

GRADIENT

public static final java.lang.String GRADIENT
See Also:
Constant Field Values

GRADIENTS

public static final java.lang.String GRADIENTS
See Also:
Constant Field Values

HIDDEN_DERIVATIVES

public static final java.lang.String HIDDEN_DERIVATIVES
See Also:
Constant Field Values

HIDDEN_SECOND_DERIVATIVES

public static final java.lang.String HIDDEN_SECOND_DERIVATIVES
See Also:
Constant Field Values

INPUT_PATTERNS

public static final java.lang.String INPUT_PATTERNS
An array of the form double[p][i] where p is usually defined by PATTERN_COUNT and i by FunctionalUnit.getInputCount().

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

INSTALLED_CANDIDATE_NAME

public static final java.lang.String INSTALLED_CANDIDATE_NAME
See Also:
Constant Field Values

INTERMEDIATE_OUTPUTS

public static final java.lang.String INTERMEDIATE_OUTPUTS
See Also:
Constant Field Values

INTERNAL_DERIVATIVES

public static final java.lang.String INTERNAL_DERIVATIVES
See Also:
Constant Field Values

INTERNAL_OUTPUTS

public static final java.lang.String INTERNAL_OUTPUTS
See Also:
Constant Field Values

INTERNAL_SECOND_DERIVATIVES

public static final java.lang.String INTERNAL_SECOND_DERIVATIVES
See Also:
Constant Field Values

LAYER_DERIVATIVES

public static final java.lang.String LAYER_DERIVATIVES
See Also:
Constant Field Values

LAYER_OUTPUTS

public static final java.lang.String LAYER_OUTPUTS
See Also:
Constant Field Values

MEAN_ERROR

public static final java.lang.String MEAN_ERROR
See Also:
Constant Field Values

NET_INPUT

public static final java.lang.String NET_INPUT
See Also:
Constant Field Values

OPTIMIZATION

public static final java.lang.String OPTIMIZATION
See Also:
Constant Field Values

OUTPUT_PATTERNS

public static final java.lang.String OUTPUT_PATTERNS
An array of the form double[p][o] where p is usually defined by PATTERN_COUNT and o by FunctionalUnit.getOutputCount().

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

OUTPUT_WEIGHTS

public static final java.lang.String OUTPUT_WEIGHTS
See Also:
Constant Field Values

OUTPUTLAYER_DERIVATIVES

public static final java.lang.String OUTPUTLAYER_DERIVATIVES
See Also:
Constant Field Values

OUTPUTLAYER_SECOND_DERIVATIVES

public static final java.lang.String OUTPUTLAYER_SECOND_DERIVATIVES
See Also:
Constant Field Values

PARAMETER_DERIVATIVES

public static final java.lang.String PARAMETER_DERIVATIVES
An array of the form double[p][o][k] where p is usually defined by PATTERN_COUNT, o by FunctionalUnit.getOutputCount(), and k by FunctionalUnit2#getParameterCount.

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

PARAMETER_SECOND_DERIVATIVES

public static final java.lang.String PARAMETER_SECOND_DERIVATIVES
An array of the form double[p][o][k][k] where p is usually defined by PATTERN_COUNT, o by FunctionalUnit.getOutputCount(), k by FunctionalUnit2#getParameterCount.

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

PARAMETERS

public static final java.lang.String PARAMETERS
An array of the form double[p][k] where p is usually defined by PATTERN_COUNT, k by FunctionalUnit2#getParameterCount.

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

PATTERN_COUNT

public static final java.lang.String PATTERN_COUNT
An Integer indicating the number of patterns.

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

PHASE

public static final java.lang.String PHASE
See Also:
Constant Field Values

SECOND_DERIVATIVES

public static final java.lang.String SECOND_DERIVATIVES
An array of the form double[p][o][i][i] where p is usually defined by PATTERN_COUNT, o by FunctionalUnit.getOutputCount(), and i by FunctionalUnit.getInputCount().

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

STAT_CONTRIBUTIONS

public static final java.lang.String STAT_CONTRIBUTIONS
See Also:
Constant Field Values

STAT_CORR_MATRIX

public static final java.lang.String STAT_CORR_MATRIX
See Also:
Constant Field Values

STAT_COV_MATRIX

public static final java.lang.String STAT_COV_MATRIX
See Also:
Constant Field Values

STAT_ERROR_BITS

public static final java.lang.String STAT_ERROR_BITS
See Also:
Constant Field Values

STAT_FAHLMAN_ERROR_PAT

public static final java.lang.String STAT_FAHLMAN_ERROR_PAT
See Also:
Constant Field Values

STAT_FROBENIUS_NORM

public static final java.lang.String STAT_FROBENIUS_NORM
See Also:
Constant Field Values

STAT_HALFMSE

public static final java.lang.String STAT_HALFMSE
See Also:
Constant Field Values

STAT_HALFSSE

public static final java.lang.String STAT_HALFSSE
See Also:
Constant Field Values

STAT_LOGSSE

public static final java.lang.String STAT_LOGSSE
See Also:
Constant Field Values

STAT_MEAN_SQUARED

public static final java.lang.String STAT_MEAN_SQUARED
See Also:
Constant Field Values

STAT_MEAN_VECTOR

public static final java.lang.String STAT_MEAN_VECTOR
See Also:
Constant Field Values

STAT_MSE

public static final java.lang.String STAT_MSE
See Also:
Constant Field Values

STAT_NORM_COV

public static final java.lang.String STAT_NORM_COV
See Also:
Constant Field Values

STAT_SSE

public static final java.lang.String STAT_SSE
See Also:
Constant Field Values

STAT_SUM_SQUARED

public static final java.lang.String STAT_SUM_SQUARED
See Also:
Constant Field Values

STAT_TRS

public static final java.lang.String STAT_TRS
See Also:
Constant Field Values

STOPPING_REASON

public static final java.lang.String STOPPING_REASON
See Also:
Constant Field Values

SUM_SQUARED_ERROR

public static final java.lang.String SUM_SQUARED_ERROR
See Also:
Constant Field Values

TARGET_PATTERNS

public static final java.lang.String TARGET_PATTERNS
An array of the form double[p][o][i][i] where p is usually defined by PATTERN_COUNT and o by FunctionalUnit.getOutputCount().

See Also:
FunctionalUnit.processPattern(double[], boolean, boolean), Constant Field Values

TEST_SET

public static final java.lang.String TEST_SET
A DataSet containing at least INPUT_PATTERNS, TARGET_PATTERNS and PATTERN_COUNT.

See Also:
Constant Field Values

TRAIN_SET

public static final java.lang.String TRAIN_SET
A DataSet containing at least INPUT_PATTERNS, TARGET_PATTERNS and PATTERN_COUNT.

See Also:
Constant Field Values

UPDATE_VALUES

public static final java.lang.String UPDATE_VALUES
See Also:
Constant Field Values

VALUE

public static final java.lang.String VALUE
See Also:
Constant Field Values

VARIABLE_CHANGES

public static final java.lang.String VARIABLE_CHANGES
See Also:
Constant Field Values

VARIABLES

public static final java.lang.String VARIABLES
See Also:
Constant Field Values

WEIGHT_UPDATE_COUNT

public static final java.lang.String WEIGHT_UPDATE_COUNT
See Also:
Constant Field Values
Method Detail

concat

public static java.lang.String[] concat(java.lang.String[] list1,
                                        java.lang.String[] list2)
Concatenates two lists of keywords in one. Repetitions are not removed.

Parameters:
list1 - The first list
list2 - The second list
Returns:
The concatenation of the lists.

isMember

public static boolean isMember(java.lang.String keyword,
                               java.lang.String[] keywordsList)
Indicates whether a given keyword is a member of a given keyword list.

Parameters:
keyword - The keyword to search for
Returns:
true if the keyword is in the list