Class LossWeighted

java.lang.Object
org.ddogleg.optimization.loss.LossWeighted
All Implemented Interfaces:
FunctionNtoN, FunctionNtoS, LossFunction, LossFunctionGradient
Direct Known Subclasses:
LossIRLS

public class LossWeighted extends Object implements LossFunction, LossFunctionGradient
A weighted least squares cost function. Weights are fixed and never updated.
  • Field Details

    • weights

      protected double[] weights
      Weight assigned to each function
  • Constructor Details

    • LossWeighted

      public LossWeighted()
  • Method Details