CRFLogConditionalObjectiveFunctionForLOP(int[][][][] data, int[][] labels, double[][] lopExpertWeights, int window, Index<String> classIndex, List<Index<CRFLabel>> labelIndices, int[] map, String backgroundSymbol, int numLopExpert, List<Set<Integer>> featureIndicesSetArray, List<List<Integer>> featureIndicesListArray, boolean backpropTraining) { this.window = window; this.classIndex = classIndex; this.numClasses = classIndex.size(); this.labelIndices = labelIndices; this.map = map; this.data = data; this.lopExpertWeights = lopExpertWeights; this.labels = labels; this.backgroundSymbol = backgroundSymbol; this.numLopExpert = numLopExpert; this.featureIndicesSetArray = featureIndicesSetArray; this.featureIndicesListArray = featureIndicesListArray; this.backpropTraining = backpropTraining; initialize2DWeights(); if (backpropTraining) { computeEHat(); } else { logPotential(lopExpertWeights2D); } }
CRFLogConditionalObjectiveFunctionForLOP(int[][][][] data, int[][] labels, double[][] lopExpertWeights, int window, Index<String> classIndex, List<Index<CRFLabel>> labelIndices, int[] map, String backgroundSymbol, int numLopExpert, List<Set<Integer>> featureIndicesSetArray, List<List<Integer>> featureIndicesListArray, boolean backpropTraining) { this.window = window; this.classIndex = classIndex; this.numClasses = classIndex.size(); this.labelIndices = labelIndices; this.map = map; this.data = data; this.lopExpertWeights = lopExpertWeights; this.labels = labels; this.backgroundSymbol = backgroundSymbol; this.numLopExpert = numLopExpert; this.featureIndicesSetArray = featureIndicesSetArray; this.featureIndicesListArray = featureIndicesListArray; this.backpropTraining = backpropTraining; initialize2DWeights(); if (backpropTraining) { computeEHat(); } else { logPotential(lopExpertWeights2D); } }
CRFLogConditionalObjectiveFunctionForLOP(int[][][][] data, int[][] labels, double[][] lopExpertWeights, int window, Index<String> classIndex, List<Index<CRFLabel>> labelIndices, int[] map, String backgroundSymbol, int numLopExpert, List<Set<Integer>> featureIndicesSetArray, List<List<Integer>> featureIndicesListArray, boolean backpropTraining) { this.window = window; this.classIndex = classIndex; this.numClasses = classIndex.size(); this.labelIndices = labelIndices; this.map = map; this.data = data; this.lopExpertWeights = lopExpertWeights; this.labels = labels; this.backgroundSymbol = backgroundSymbol; this.numLopExpert = numLopExpert; this.featureIndicesSetArray = featureIndicesSetArray; this.featureIndicesListArray = featureIndicesListArray; this.backpropTraining = backpropTraining; initialize2DWeights(); if (backpropTraining) { computeEHat(); } else { logPotential(lopExpertWeights2D); } }