public class LpLossLearner extends GeneralizedLearner
| Constructor and Description |
|---|
LpLossLearner(NormedRxToNormedR1Finite funcClassRxToR1,
CoveringNumberLossBound cdpb,
RegularizationFunction regularizerFunc,
double dblLossExponent)
LpLossLearner Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
empiricalLoss(R1ToR1 funcLearnerR1ToR1,
GeneralizedValidatedVector gvviX,
GeneralizedValidatedVector gvviY)
Compute the Empirical Sample Loss
|
double |
empiricalLoss(RdToR1 funcLearnerRdToR1,
GeneralizedValidatedVector gvviX,
GeneralizedValidatedVector gvviY)
Compute the Empirical Sample Loss
|
double |
empiricalRisk(R1R1 distR1R1,
R1ToR1 funcLearnerR1ToR1,
GeneralizedValidatedVector gvviX,
GeneralizedValidatedVector gvviY)
Compute the Empirical Sample Risk
|
double |
empiricalRisk(RdR1 distRdR1,
RdToR1 funcLearnerRdToR1,
GeneralizedValidatedVector gvviX,
GeneralizedValidatedVector gvviY)
Compute the Empirical Sample Risk
|
double |
lipschitzSlope()
Retrieve the Lipschitz Slope Bound
|
double |
lossExponent()
Retrieve the Loss Exponent
|
double |
lossSampleCoveringNumber(GeneralizedValidatedVector gvvi,
double dblEpsilon,
boolean bSupremum)
Retrieve the Loss Class Sample Covering Number - L-Infinity or L-p based Based
|
coveringLossBoundEvaluator, functionClass, genericCoveringProbabilityBound, genericCoveringProbabilityBound, genericCoveringSampleSize, genericCoveringSampleSize, regressorCoveringProbabilityBound, regressorCoveringProbabilityBound, regressorCoveringSampleSize, regressorCoveringSampleSize, regularizedLoss, regularizedLoss, regularizedRisk, regularizedRisk, regularizerFunction, structuralLoss, structuralLoss, structuralRisk, structuralRisk, supremumEmpiricalLoss, supremumEmpiricalRisk, supremumEmpiricalRisk, supremumRegularizedLoss, supremumRegularizedRisk, supremumRegularizedRisk, supremumStructuralLoss, supremumStructuralRisk, supremumStructuralRiskpublic LpLossLearner(NormedRxToNormedR1Finite funcClassRxToR1, CoveringNumberLossBound cdpb, RegularizationFunction regularizerFunc, double dblLossExponent) throws java.lang.Exception
funcClassRxToR1 - R^x To R^1 Function Classcdpb - The Covering Number based Deviation Upper Probability Bound GeneratorregularizerFunc - The Regularizer FunctiondblLossExponent - The Loss Exponentjava.lang.Exception - Thrown if the Inputs are Invalidpublic double lossExponent()
public double lipschitzSlope()
public double lossSampleCoveringNumber(GeneralizedValidatedVector gvvi, double dblEpsilon, boolean bSupremum) throws java.lang.Exception
EmpiricalLearningMetricEstimatorgvvi - The Validated Instance Vector SequencedblEpsilon - The Deviation of the Empirical Mean from the Population MeanbSupremum - TRUE To Use the Supremum Metric in place of the Built-in Metricjava.lang.Exception - Thrown if the Inputs are Invalidpublic double empiricalLoss(R1ToR1 funcLearnerR1ToR1, GeneralizedValidatedVector gvviX, GeneralizedValidatedVector gvviY) throws java.lang.Exception
EmpiricalLearningMetricEstimatorfuncLearnerR1ToR1 - The R^1 To R^1 Learner FunctiongvviX - The Validated Predictor InstancegvviY - The Validated Response Instancejava.lang.Exception - Thrown if the Empirical Loss cannot be computedpublic double empiricalLoss(RdToR1 funcLearnerRdToR1, GeneralizedValidatedVector gvviX, GeneralizedValidatedVector gvviY) throws java.lang.Exception
EmpiricalLearningMetricEstimatorfuncLearnerRdToR1 - The R^d To R^1 Learner FunctiongvviX - The Validated Predictor InstancegvviY - The Validated Response Instancejava.lang.Exception - Thrown if the Empirical Loss cannot be computedpublic double empiricalRisk(R1R1 distR1R1, R1ToR1 funcLearnerR1ToR1, GeneralizedValidatedVector gvviX, GeneralizedValidatedVector gvviY) throws java.lang.Exception
EmpiricalLearningMetricEstimatordistR1R1 - R^1 R^1 Multivariate MeasurefuncLearnerR1ToR1 - The R^1 To R^1 Learner FunctiongvviX - The Validated Predictor InstancegvviY - The Validated Response Instancejava.lang.Exception - Thrown if the Empirical Sample Risk cannot be computedpublic double empiricalRisk(RdR1 distRdR1, RdToR1 funcLearnerRdToR1, GeneralizedValidatedVector gvviX, GeneralizedValidatedVector gvviY) throws java.lang.Exception
EmpiricalLearningMetricEstimatordistRdR1 - R^d R^1 Multivariate MeasurefuncLearnerRdToR1 - The R^d To R^1 Learner FunctiongvviX - The Validated Predictor InstancegvviY - The Validated Response Instancejava.lang.Exception - Thrown if the Empirical Sample Risk cannot be computed