public class VocalizationFFRTargetCostFunction extends FFRTargetCostFunction
FFRTargetCostFunction.TargetCostReportercumulWeightedCosts, debugShowCostGraph, featureDefinition, featureVectors, nCostComputations, targetFeatureComputer, weightFunction, weightsNonZero| Constructor and Description |
|---|
VocalizationFFRTargetCostFunction(VocalizationFeatureFileReader ffr) |
VocalizationFFRTargetCostFunction(VocalizationFeatureFileReader ffr,
FeatureDefinition fDef) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
cost(Target target,
Unit unit,
FeatureDefinition weights,
WeightFunc[] weightFunctions)
Compute the goodness-of-fit of a given unit for a given target
|
protected double |
featureCost(Target target,
Unit unit,
String featureName,
FeatureDefinition weights,
WeightFunc[] weightFunctions)
Compute the goodness-of-fit between given unit and given target for a given feature
|
computeTargetFeatures, cost, featureCost, getFeature, getFeatureDefinition, getFeatureVector, getFeatureVectors, load, load, rememberWhichWeightsAreNonZeropublic VocalizationFFRTargetCostFunction(VocalizationFeatureFileReader ffr)
public VocalizationFFRTargetCostFunction(VocalizationFeatureFileReader ffr, FeatureDefinition fDef)
protected double cost(Target target, Unit unit, FeatureDefinition weights, WeightFunc[] weightFunctions)
cost in class FFRTargetCostFunctiontarget - target unitunit - candidate unitweights - FeatureDefinitionweightFunctions - array of WeightFunctionsIllegalArgumentException - if featureName not available in featureDefinitionprotected double featureCost(Target target, Unit unit, String featureName, FeatureDefinition weights, WeightFunc[] weightFunctions)
featureCost in class FFRTargetCostFunctiontarget - target unitunit - candidate unitfeatureName - feature nameweights - FeatureDefinitionweightFunctions - array of WeightFunctionsIllegalArgumentException - if featureName not available in featureDefinitionCopyright © 2000–2016 DFKI GmbH. All rights reserved.