Package pulse.search.statistics
Class RangePenalisedLeastSquares
- 
- All Implemented Interfaces:
 Serializable,Descriptive,Reflexive
public class RangePenalisedLeastSquares extends SumOfSquares
This is an experimental feature.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RangePenalisedLeastSquares()RangePenalisedLeastSquares(RangePenalisedLeastSquares rls) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptimiserStatisticcopy()voidevaluate(GeneralTask t)Calculates the sum of squared deviations usingcurveas reference.StringgetDescriptor()If not null, will return the prefix, otherwise calls the superclass method.doublegetLambda()The lambda is the regularisation strength.voidsetLambda(double lambda)- 
Methods inherited from class pulse.search.statistics.SumOfSquares
variance 
- 
Methods inherited from class pulse.search.statistics.OptimiserStatistic
getSelectedOptimiserDescriptor, setSelectedOptimiserDescriptor 
- 
Methods inherited from class pulse.search.statistics.ResidualStatistic
calculateResiduals, calculateResiduals, calculateResiduals, equals, getResiduals, getStatistic, getTimeSequence, hashCode, residualsArray, set, setStatistic 
- 
Methods inherited from class pulse.util.PropertyHolder
addListener, areDetailsHidden, data, describe, firePropertyChanged, getListeners, getPrefix, ignoreSiblings, initListeners, isListedNumericType, isListedParameter, listedKeywords, listedTypes, numericData, parameterListChanged, removeListeners, setPrefix, updateProperties, updateProperty 
- 
Methods inherited from class pulse.util.Accessible
accessibleChildren, genericProperties, genericProperty, numericProperties, numericProperty, property, update, update 
- 
Methods inherited from class pulse.util.UpwardsNavigable
addHierarchyListener, getHierarchyListeners, getParent, identify, removeHierarchyListener, removeHierarchyListeners, setParent, specificAncestor, tellParent 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
RangePenalisedLeastSquares
public RangePenalisedLeastSquares()
 
- 
RangePenalisedLeastSquares
public RangePenalisedLeastSquares(RangePenalisedLeastSquares rls)
 
 - 
 
- 
Method Detail
- 
getLambda
public double getLambda()
The lambda is the regularisation strength.- Returns:
 - the lambda factor.
 
 
- 
setLambda
public void setLambda(double lambda)
 
- 
evaluate
public void evaluate(GeneralTask t)
Description copied from class:SumOfSquaresCalculates the sum of squared deviations usingcurveas reference.This calculates , where is the temperature value corresponding to the
timeat indexifor the referencecurve. Note that the time corresponds to the reference's time list, which generally does not match to that of this heating curve. The is the interpolated value.- Overrides:
 evaluatein classSumOfSquares- Parameters:
 t- The task containing the reference and calculated curves- See Also:
 calculateResiduals()
 
- 
getDescriptor
public String getDescriptor()
Description copied from class:PropertyHolderIf not null, will return the prefix, otherwise calls the superclass method.- Overrides:
 getDescriptorin classSumOfSquares- Returns:
 - the descriptor
 - See Also:
 Group.getSimpleName()
 
- 
copy
public OptimiserStatistic copy()
- Overrides:
 copyin classSumOfSquares
 
 - 
 
 -