def run():
  import sys
  plot = '--plot' in sys.argv[1:]
  t = test_problems.exponential_fit()
  exercise_levenberg_marquardt(t, plot)
  exercise_linear_normal_equations()
  exercise_non_linear_ls_with_separable_scale_factor()
  exercise_non_linear_ls_with_separable_scale_factor_plus_penalty()
  print 'OK'
Exemple #2
0
def run():
    import sys
    plot = '--plot' in sys.argv[1:]
    t = test_problems.exponential_fit()
    exercise_levenberg_marquardt(t, plot)
    exercise_linear_normal_equations()
    exercise_non_linear_ls_with_separable_scale_factor()
    exercise_non_linear_ls_with_separable_scale_factor_plus_penalty()
    print 'OK'