org.apache.commons.math3.optimization.general
Class AbstractLeastSquaresOptimizerAbstractTest
java.lang.Object
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizerAbstractTest
- Direct Known Subclasses:
- GaussNewtonOptimizerTest, LevenbergMarquardtOptimizerTest
public abstract class AbstractLeastSquaresOptimizerAbstractTest
- extends Object
Some of the unit tests are re-implementations of the MINPACK file17 and file22 test files.
The redistribution policy for MINPACK is available here, for
convenience, it is reproduced below.
|
Minpack Copyright Notice (1999) University of Chicago.
All rights reserved
|
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
- The end-user documentation included with the redistribution, if any,
must include the following acknowledgment:
This product includes software developed by the University of
Chicago, as Operator of Argonne National Laboratory.
Alternately, this acknowledgment may appear in the software itself,
if and wherever such third-party acknowledgments normally appear.
- WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS"
WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDER, THE
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND
THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE
OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY
OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR
USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF
THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4)
DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION
UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL
BE CORRECTED.
- LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT
HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF
ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT,
INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF
ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF
PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER
SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT
(INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE,
EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGES.
|
- Version:
- $Id: AbstractLeastSquaresOptimizerAbstractTest.java 1407467 2012-11-09 14:30:49Z erans $
- Author:
- Argonne National Laboratory. MINPACK project. March 1980 (original fortran minpack tests), Burton S. Garbow (original fortran minpack tests), Kenneth E. Hillstrom (original fortran minpack tests), Jorge J. More (original fortran minpack tests), Luc Maisonobe (non-minpack tests and minpack tests Java translation)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLeastSquaresOptimizerAbstractTest
public AbstractLeastSquaresOptimizerAbstractTest()
createOptimizer
public abstract AbstractLeastSquaresOptimizer createOptimizer()
testTrivial
public void testTrivial()
testQRColumnsPermutation
public void testQRColumnsPermutation()
testNoDependency
public void testNoDependency()
testOneSet
public void testOneSet()
testTwoSets
public void testTwoSets()
testNonInvertible
public void testNonInvertible()
throws Exception
- Throws:
Exception
testIllConditioned
public void testIllConditioned()
testMoreEstimatedParametersSimple
public void testMoreEstimatedParametersSimple()
testMoreEstimatedParametersUnsorted
public void testMoreEstimatedParametersUnsorted()
testRedundantEquations
public void testRedundantEquations()
testInconsistentEquations
public void testInconsistentEquations()
testInconsistentSizes1
public void testInconsistentSizes1()
testInconsistentSizes2
public void testInconsistentSizes2()
testCircleFitting
public void testCircleFitting()
testCircleFittingBadInit
public void testCircleFittingBadInit()
testCircleFittingGoodInit
public void testCircleFittingGoodInit()
doTestStRD
public void doTestStRD(StatisticalReferenceDataset dataset,
double errParams,
double errParamsSd)
testKirby2
public void testKirby2()
throws IOException
- Throws:
IOException
testHahn1
public void testHahn1()
throws IOException
- Throws:
IOException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.