Package gov.nih.mipav.model.algorithms
Class CeresSolverNISTTest
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver
-
- gov.nih.mipav.model.algorithms.CeresSolverNISTTest
-
public class CeresSolverNISTTest extends CeresSolver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.model.algorithms.CeresSolver
CeresSolver.ArctanLoss, CeresSolver.ArmijoLineSearch, CeresSolver.AutoDiffCostFunction<CostFunctor>, CeresSolver.BadTestTerm, CeresSolver.BFGS, CeresSolver.Block, CeresSolver.BlockEvaluatePreparer, CeresSolver.BlockJacobianWriter, CeresSolver.BlockJacobiPreconditioner, CeresSolver.BlockRandomAccessDenseMatrix, CeresSolver.BlockRandomAccessDiagonalMatrix, CeresSolver.BlockRandomAccessMatrix, CeresSolver.BlockSparseMatrix, CeresSolver.BlockSparseMatrixRandomMatrixOptions, CeresSolver.CallbackReturnType, CeresSolver.CallStatistics, CeresSolver.CauchyLoss, CeresSolver.Cell, CeresSolver.CellInfo, CeresSolver.CellLessThan, CeresSolver.CgnrLinearOperator, CeresSolver.CgnrSolver, CeresSolver.Chunk, CeresSolver.ComposedLoss, CeresSolver.CompressedList, CeresSolver.CompressedRowBlockStructure, CeresSolver.CompressedRowJacobianWriter, CeresSolver.CompressedRowSparseMatrix, CeresSolver.ConjugateGradientsSolver, CeresSolver.Context, CeresSolver.CoordinateDescentMinimizer, CeresSolver.Corrector, CeresSolver.CostFunction, CeresSolver.CostFunctorExample, CeresSolver.CovarianceAlgorithmType, CeresSolver.CRSMatrix, CeresSolver.CurveFittingFunctorExample, CeresSolver.DenseJacobianWriter, CeresSolver.DenseLinearAlgebraLibraryType, CeresSolver.DenseNormalCholeskySolver, CeresSolver.DenseQRSolver, CeresSolver.DenseSchurComplementSolver, CeresSolver.DenseSparseMatrix, CeresSolver.DoglegStrategy, CeresSolver.DoglegType, CeresSolver.DumpFormatType, CeresSolver.DynamicCompressedRowJacobianFinalizer, CeresSolver.DynamicCompressedRowJacobianWriter, CeresSolver.DynamicCostFunction, CeresSolver.DynamicNumericDiffCostFunction<T>, CeresSolver.EasyCostFunction, CeresSolver.EasyFunctor, CeresSolver.EigenQuaternionParameterization, CeresSolver.EvaluateOptions, CeresSolver.EvaluateScratch, CeresSolver.EvaluationCallback, CeresSolver.Evaluator, CeresSolver.EvaluatorOptions, CeresSolver.EventLogger, CeresSolver.ExecutionSummary, CeresSolver.ExponentialCostFunction, CeresSolver.ExponentialFunctor, CeresSolver.FirstOrderFunction, CeresSolver.FunctionSample, CeresSolver.GoodTestTerm, CeresSolver.GradientChecker, CeresSolver.GradientCheckingCostFunction, CeresSolver.GradientCheckingIterationCallback, CeresSolver.GradientProblem, CeresSolver.GradientProblemEvaluator, CeresSolver.GradientProblemSolver, CeresSolver.GradientProblemSolverOptions, CeresSolver.GradientProblemSolverStateUpdatingCallback, CeresSolver.GradientProblemSolverSummary, CeresSolver.Graph<Vertex>, CeresSolver.HomogeneousVectorParameterization, CeresSolver.HuberLoss, CeresSolver.IdentityParameterization, CeresSolver.ImplicitSchurComplement, CeresSolver.indexValueItem<Vertex>, CeresSolver.IterationCallback, CeresSolver.IterationSummary, CeresSolver.IterativeSchurComplementSolver, CeresSolver.LBFGS, CeresSolver.LevenbergMarquardtStrategy, CeresSolver.LinearCostFunction, CeresSolver.LinearLeastSquaresProblem, CeresSolver.LinearOperator, CeresSolver.LinearSolver, CeresSolver.LinearSolverOptions, CeresSolver.LinearSolverPerSolveOptions, CeresSolver.LinearSolverSummary, CeresSolver.LinearSolverTerminationType, CeresSolver.LinearSolverType, CeresSolver.LineSearch, CeresSolver.LineSearchDirection, CeresSolver.LineSearchDirectionOptions, CeresSolver.LineSearchDirectionType, CeresSolver.LineSearchFunction, CeresSolver.LineSearchInterpolationType, CeresSolver.LineSearchMinimizer, CeresSolver.LineSearchOptions, CeresSolver.LineSearchPreprocessor, CeresSolver.LineSearchSummary, CeresSolver.LineSearchType, CeresSolver.LocalParameterization, CeresSolver.LoggingCallback, CeresSolver.LoggingType, CeresSolver.LossFunction, CeresSolver.LossFunctionWrapper, CeresSolver.LowRankInverseHessian, CeresSolver.Minimizer, CeresSolver.MinimizerOptions, CeresSolver.MinimizerType, CeresSolver.MyCostFunctor, CeresSolver.MyThreeParameterCostFunctor, CeresSolver.NonlinearConjugateGradient, CeresSolver.NonlinearConjugateGradientType, CeresSolver.NormalPrior, CeresSolver.NullJacobianFinalizer, CeresSolver.NumericDiffCostFunction<CostFunctor>, CeresSolver.NumericDiffMethodType, CeresSolver.NumericDiffOptions, CeresSolver.OnlyFillsOneOutputFunctor, CeresSolver.OrderedGroups<T>, CeresSolver.Ownership, CeresSolver.Pair<T,U>, CeresSolver.ParameterBlock, CeresSolver.PartitionedMatrixView, CeresSolver.Preconditioner, CeresSolver.PreconditionerOptions, CeresSolver.PreconditionerType, CeresSolver.PreprocessedProblem, CeresSolver.Preprocessor, CeresSolver.ProbeResults, CeresSolver.ProblemImpl, CeresSolver.ProblemOptions, CeresSolver.ProductParameterization, CeresSolver.Program, CeresSolver.ProgramEvaluator<EvaluatePreparer,JacobianWriter,JacobianFinalizer>, CeresSolver.QuaternionParameterization, CeresSolver.RandomizedCostFunction, CeresSolver.RandomizedFunctor, CeresSolver.ResidualBlock, CeresSolver.ScaledLoss, CeresSolver.SchurComplementSolver, CeresSolver.SchurEliminator, CeresSolver.SchurEliminatorBase, CeresSolver.SchurJacobiPreconditioner, CeresSolver.ScopedExecutionTimer, CeresSolver.ScratchEvaluatePreparer, CeresSolver.SizedCostFunction, CeresSolver.SizeTestingCostFunction, CeresSolver.SoftLOneLoss, CeresSolver.Solver, CeresSolver.SolverOptions, CeresSolver.SolverSummary, CeresSolver.SparseLinearAlgebraLibraryType, CeresSolver.SparseMatrix, CeresSolver.SparseMatrixPreconditionerWrapper, CeresSolver.StateUpdatingCallback, CeresSolver.SteepestDescent, CeresSolver.SubsetParameterization, CeresSolver.TerminationType, CeresSolver.TestTerm, CeresSolver.TolerantLoss, CeresSolver.TranscendentalCostFunction, CeresSolver.TranscendentalFunctor, CeresSolver.TripletSparseMatrix, CeresSolver.TripletSparseMatrixRandomMatrixOptions, CeresSolver.TrivialLoss, CeresSolver.TrustRegionMinimizer, CeresSolver.TrustRegionPreprocessor, CeresSolver.TrustRegionStepEvaluator, CeresSolver.TrustRegionStrategy, CeresSolver.TrustRegionStrategyOptions, CeresSolver.TrustRegionStrategyPerSolveOptions, CeresSolver.TrustRegionStrategySummary, CeresSolver.TrustRegionStrategyType, CeresSolver.TukeyLoss, CeresSolver.TypedLinearSolver<MatrixType>, CeresSolver.TypedPreconditioner<MatrixType>, CeresSolver.VertexDegreeLessThan<Vertex>, CeresSolver.VertexTotalOrdering<Vertex>, CeresSolver.VisibilityClusteringType, CeresSolver.WeightedGraph<Vertex>, CeresSolver.WolfeLineSearch
-
-
Field Summary
Fields Modifier and Type Field Description (package private) double[]Bennett5Data(package private) intBennett5Observations(package private) double[]BoxBODData(package private) intBoxBODObservations(package private) CeresSolver2ce2protected double[]Chiwrut1Dataprotected intChiwrut1Observationsprotected double[]Chiwrut2Dataprotected intChiwrut2Observationsprotected double[]DanwoodDataprotected intDanwoodObservations(package private) double[]Eckerle4Data(package private) intEckerle4Observations(package private) double[]ENSOData(package private) intENSOObservationsprotected double[]Gauss1Dataprotected intGauss1Observationsprotected double[]Gauss2Dataprotected intGauss2Observationsprotected double[]Gauss3Dataprotected intGauss3Observationsprotected double[]Hahn1Dataprotected intHahn1Observationsprotected double[]Kirby2Dataprotected intKirby2Observationsprotected double[]Lanczos1Dataprotected intLanczos1Observationsprotected double[]Lanczos2Dataprotected intLanczos2Observationsprotected double[]Lanczos3Dataprotected intLanczos3Observationsprotected double[]MisralaDataprotected intMisralaObservationsprotected double[]MisralbDataprotected intMisralbObservationsprotected double[]MisralcDataprotected intMisralcObservationsprotected double[]MisraldDataprotected intMisraldObservationsprotected double[]NelsonDataprotected intNelsonObservations(package private) double[]Rat42Data(package private) intRat42Observations(package private) double[]Rat43Data(package private) intRat43Observations(package private) double[]Roszman1Data(package private) intRoszman1Observations(package private) double[]ThurberData(package private) intThurberObservations-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver
BAD_TEST_TERM_EXAMPLE, COST_FUNCTOR_EXAMPLE, CURVE_FITTING_EXAMPLE, curveFittingData, curveFittingObservations, default_relstep, DYNAMIC, EASY_COST_FUNCTION, EASY_FUNCTOR_EXAMPLE, epsilon, ERROR, EXPONENTIAL_COST_FUNCTION, EXPONENTIAL_FUNCTOR, FATAL, GOOD_TEST_TERM_EXAMPLE, INFO, LINEAR_COST_FUNCTION_EXAMPLE, m, MAX_LOG_LEVEL, MY_COST_FUNCTOR, MY_THREE_PARAMETER_COST_FUNCTOR, N0, ONLY_FILLS_ONE_OUTPUT_FUNCTOR, optionsValid, RANDOMIZED_COST_FUNCTION, RANDOMIZED_FUNCTOR, SIZE_TESTING_COST_FUNCTION, svd, TEST_TERM_EXAMPLE, testCase, testMode, TRANSCENDENTAL_COST_FUNCTION, TRANSCENDENTAL_FUNCTOR, WARNING
-
-
Constructor Summary
Constructors Constructor Description CeresSolverNISTTest()
-
Method Summary
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver
AppendArrayToString, ApplyOrdering, BuildResidualLayout, ComputeHouseholderVector, ComputeRecursiveIndependentSetOrdering, ComputeSchurOrdering, ComputeStableSchurOrdering, copyFunctionSample, Create, Create, Create, Create, Create, Create, Create, CreateDiagonalMatrix, CreateEvaluatorScratch, CreateGradientCheckingCostFunction, CreateGradientCheckingProblemImpl, CreateHessianGraph, CreateLinearLeastSquaresProblemFromId, CreateOrdering, createPartitionedMatrixView, CreatePreprocessor, CreateRandomMatrix, CreateRandomMatrix, createSchurEliminatorBase, CreateSparseDiagonalMatrix, DetectStructure, DifferentiatePolynomial, DumpLinearLeastSquaresProblem, DumpLinearLeastSquaresProblemToConsole, DumpLinearLeastSquaresProblemToTextFile, EigenQuaternionProduct, EvaluateCostFunction, EvaluateJacobianColumn, EvaluateJacobianForParameterBlock, EvaluateJacobianForParameterBlock, EvaluatePolynomial, EvaluateRiddersJacobianColumn, ExpectClose, FindInterpolatingPolynomial, FindInvalidValue, FindLinearPolynomialRoots, FindPolynomialRoots, FindQuadraticPolynomialRoots, FindWithDefault, FindWithDefault, GetBestSchurTemplateSpecialization, GradientProblemSolverOptionsToSolverOptions, IndependentSetOrdering, InvalidateArray, InvalidateArray, InvalidateArray, InvalidateArray, InvertPSDMatrix, IsArrayValid, IsArrayValid, IsArrayValid, IsArrayValid, IsClose, IsOrderingValid, IsSchurType, IsSolutionUsable, IsSolutionUsable, LexicographicallyOrderResidualBlocks, LinearLeastSquaresProblem0, LinearLeastSquaresProblem1, LinearLeastSquaresProblem2, LinearLeastSquaresProblem3, LinearLeastSquaresProblem4, LinearSolverForZeroEBlocks, LinearSolverTypeToString, LineSearchDirectionTypeToString, LineSearchInterpolationTypeToString, LineSearchTypeToString, MatrixMatrixMultiply, MatrixMatrixMultiply, MatrixMatrixMultiply, MatrixMatrixMultiply, MatrixTransposeMatrixMultiply, MatrixTransposeVectorMultiply, MatrixVectorMultiply, MaybeReorderSchurComplementColumnsUsingEigen, MaybeReorderSchurComplementColumnsUsingSuiteSparse, Minimize, MinimizeInterpolatingPolynomial, MinimizePolynomial, MinParameterBlock, NonlinearConjugateGradientTypeToString, operator, PostSolveSummarize, PreconditionerForZeroEBlocks, PreconditionerTypeToString, QuaternionProduct, RandDouble, RandDouble, RandNormal, RemoveLeadingZeros, ReorderProgramForSchurTypeLinearSolver, RunCallbacks, SchurStructureToString, SetSummaryFinalCost, SetSummaryFinalCost, SetupCommonMinimizerOptions, Solve, Solve, StableIndependentSetOrdering, SummarizeReducedProgram, swap, TerminationTypeToString, TransposeForCompressedRowSparseStructure, Uniform, WriteArrayToFileOrDie, WriteStringToFileOrDie
-
-
-
-
Field Detail
-
ce2
CeresSolver2 ce2
-
MisralaObservations
protected final int MisralaObservations
- See Also:
- Constant Field Values
-
MisralaData
protected double[] MisralaData
-
MisralbObservations
protected final int MisralbObservations
- See Also:
- Constant Field Values
-
MisralbData
protected double[] MisralbData
-
Chiwrut1Observations
protected final int Chiwrut1Observations
- See Also:
- Constant Field Values
-
Chiwrut1Data
protected double[] Chiwrut1Data
-
Chiwrut2Observations
protected final int Chiwrut2Observations
- See Also:
- Constant Field Values
-
Chiwrut2Data
protected double[] Chiwrut2Data
-
Lanczos3Observations
protected final int Lanczos3Observations
- See Also:
- Constant Field Values
-
Lanczos3Data
protected double[] Lanczos3Data
-
Gauss1Observations
protected final int Gauss1Observations
- See Also:
- Constant Field Values
-
Gauss1Data
protected double[] Gauss1Data
-
Gauss2Observations
protected final int Gauss2Observations
- See Also:
- Constant Field Values
-
Gauss2Data
protected double[] Gauss2Data
-
DanwoodObservations
protected final int DanwoodObservations
- See Also:
- Constant Field Values
-
DanwoodData
protected double[] DanwoodData
-
Gauss3Observations
protected final int Gauss3Observations
- See Also:
- Constant Field Values
-
Gauss3Data
protected double[] Gauss3Data
-
MisralcObservations
protected final int MisralcObservations
- See Also:
- Constant Field Values
-
MisralcData
protected double[] MisralcData
-
MisraldObservations
protected final int MisraldObservations
- See Also:
- Constant Field Values
-
MisraldData
protected double[] MisraldData
-
Lanczos1Observations
protected final int Lanczos1Observations
- See Also:
- Constant Field Values
-
Lanczos1Data
protected double[] Lanczos1Data
-
Lanczos2Observations
protected final int Lanczos2Observations
- See Also:
- Constant Field Values
-
Lanczos2Data
protected double[] Lanczos2Data
-
Kirby2Observations
protected final int Kirby2Observations
- See Also:
- Constant Field Values
-
Kirby2Data
protected double[] Kirby2Data
-
Hahn1Observations
protected final int Hahn1Observations
- See Also:
- Constant Field Values
-
Hahn1Data
protected double[] Hahn1Data
-
NelsonObservations
protected final int NelsonObservations
- See Also:
- Constant Field Values
-
NelsonData
protected double[] NelsonData
-
Roszman1Observations
final int Roszman1Observations
- See Also:
- Constant Field Values
-
Roszman1Data
double[] Roszman1Data
-
ENSOObservations
final int ENSOObservations
- See Also:
- Constant Field Values
-
ENSOData
double[] ENSOData
-
ThurberObservations
final int ThurberObservations
- See Also:
- Constant Field Values
-
ThurberData
double[] ThurberData
-
BoxBODObservations
final int BoxBODObservations
- See Also:
- Constant Field Values
-
BoxBODData
double[] BoxBODData
-
Rat42Observations
final int Rat42Observations
- See Also:
- Constant Field Values
-
Rat42Data
double[] Rat42Data
-
Rat43Observations
final int Rat43Observations
- See Also:
- Constant Field Values
-
Rat43Data
double[] Rat43Data
-
Eckerle4Observations
final int Eckerle4Observations
- See Also:
- Constant Field Values
-
Eckerle4Data
double[] Eckerle4Data
-
Bennett5Observations
final int Bennett5Observations
- See Also:
- Constant Field Values
-
Bennett5Data
double[] Bennett5Data
-
-
Method Detail
-
fitToExternalFunction
public boolean fitToExternalFunction(double[] x, double[] residuals, double[][] jacobian)- Specified by:
fitToExternalFunctionin classCeresSolver
-
runMisralaCostFunctionExample
public void runMisralaCostFunctionExample()
-
runMisralbCostFunctionExample
public void runMisralbCostFunctionExample()
-
runChiwrut1CostFunctionExample
public void runChiwrut1CostFunctionExample()
-
runChiwrut2CostFunctionExample
public void runChiwrut2CostFunctionExample()
-
runLanczos3CostFunctionExample
public void runLanczos3CostFunctionExample()
-
runGauss1CostFunctionExample
public void runGauss1CostFunctionExample()
-
runGauss2CostFunctionExample
public void runGauss2CostFunctionExample()
-
runDanwoodCostFunctionExample
public void runDanwoodCostFunctionExample()
-
runGauss3CostFunctionExample
public void runGauss3CostFunctionExample()
-
runMisralcCostFunctionExample
public void runMisralcCostFunctionExample()
-
runMisraldCostFunctionExample
public void runMisraldCostFunctionExample()
-
runLanczos1CostFunctionExample
public void runLanczos1CostFunctionExample()
-
runLanczos2CostFunctionExample
public void runLanczos2CostFunctionExample()
-
runKirby2CostFunctionExample
public void runKirby2CostFunctionExample()
-
runHahn1CostFunctionExample
public void runHahn1CostFunctionExample()
-
runNelsonCostFunctionExample
public void runNelsonCostFunctionExample()
-
runRoszman1CostFunctionExample
public void runRoszman1CostFunctionExample()
-
runENSOCostFunctionExample
public void runENSOCostFunctionExample()
-
runThurberCostFunctionExample
public void runThurberCostFunctionExample()
-
runBoxBODCostFunctionExample
public void runBoxBODCostFunctionExample()
-
runRat42CostFunctionExample
public void runRat42CostFunctionExample()
-
runRat43CostFunctionExample
public void runRat43CostFunctionExample()
-
runEckerle4CostFunctionExample
public void runEckerle4CostFunctionExample()
-
runBennett5CostFunctionExample
public void runBennett5CostFunctionExample()
-
-