Commit Graph

34 Commits

Author SHA1 Message Date
Émilie Feral
fe4e2e3e9d Misc. clang static analyzer fixes 2020-12-09 13:34:36 +01:00
Léa Saviot
3747b5a4b0 [apps/regression] Virtualize only the specialized part of initCoefs 2020-02-12 15:13:16 +01:00
Léa Saviot
a233b02623 [apps/regression] Better coef initialisation for trigonometric_model
It improves the trigonometric fit of
x = {0.0, 0.975, 1.97, 2.945, 3.971, 4.887, 5.924, 6.964, 7.979, 8.974, 9.998};
y = {-23.784, -23.322, -28.322, -18.422, -4.813206, 7.146241, 16.631, 16.632, 9.209189, -6.050863, -19.659};
2020-02-12 15:13:15 +01:00
Émilie Feral
ccf848a9eb [poincare] Add test: do not expand multinome when reduction target is
System
2019-11-21 09:47:16 +01:00
Léa Saviot
c71ef7ff79 [apps/graph] Evaluation methods renaming 2019-08-29 11:07:22 +02:00
Léa Saviot
7ea7ecd3c2 [poincare/coordinate2D] Rename member values to x and y 2019-08-29 11:07:22 +02:00
Léa Saviot
1e483d60ce [poincare] Coordinate2D out of the Expression class 2019-08-13 18:00:15 +02:00
Léa Saviot
61cf762eef [poincare] Expression::ReductionContext 2019-08-08 16:29:37 +02:00
Léa Saviot
5a79d26191 [apps/regression] Factorize Model::simplifiedExpression 2019-08-08 16:22:28 +02:00
Émilie Feral
c1c280762f [regression] Add an assertion on the number of entries of matrices used
in models
2019-05-03 15:54:22 +02:00
Léa Saviot
e5f0959239 [poincare] Static Expression methods start with uppercase 2019-01-10 11:42:05 +01:00
Émilie Feral
6021579ae3 [regression] Clean warnings 2019-01-10 11:42:04 +01:00
Émilie Feral
fe8825df35 [shared] PoincareHelpers: update the complexFormat (force it to
Cartesian with complex input).
2019-01-10 11:42:04 +01:00
Émilie Feral
ecf3f2ea0f [poincare] Create a a flag on Expression that is set when the
approximation encouters a complex value

All approximation methods take the complex format into account.
2019-01-10 11:42:04 +01:00
Émilie Feral
b597a79910 [regression] Fix Regression with variable-length symbols 2018-11-23 12:03:58 +01:00
Émilie Feral
cf8378434d [regression] When creating SimplifiedExpression, use
Number::DecimalNumber constructor to enable to get Infinity or Undefined
2018-09-18 17:50:10 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
1b0cd43b56 [regression] Tidy the models' layouts before leaving the app 2018-09-14 15:13:20 +02:00
Émilie Feral
3a58ff7728 [regression] Fix Model 2018-09-07 12:02:25 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
dd0bc491f6 [poincare] Replace Poincare::Complex by std::complex 2018-07-18 16:32:49 +02:00
Émilie Feral
448f5b359c [regression] Fix memory leak 2018-07-18 10:32:46 +02:00
Léa Saviot
2d43fd41ff [apps/reg] Better comments 2018-07-18 10:32:46 +02:00
Léa Saviot
f031a642b8 [apps/reg] Cap the number of matrix modifications 2018-07-18 10:32:46 +02:00
Léa Saviot
c56652cda9 [apps/reg] Algorithm more robust against non invertible matrices 2018-07-18 10:32:46 +02:00
Léa Saviot
c68cd9d2ba [apps/reg] Fix x prediction given y
The expressions need to be simplified before computing intersections
2018-07-18 10:32:46 +02:00
Léa Saviot
7a114f525e [apps/reg] Implement numerical level set 2018-07-18 10:32:46 +02:00
Léa Saviot
4f00d42121 [apps/reg] Clean and comment code 2018-07-18 10:32:46 +02:00
Léa Saviot
7ed836d12b [apps/reg] Fix non invertible matrix condition 2018-07-18 10:32:46 +02:00
Léa Saviot
e174e33480 [apps/reg] Regression computations on arrays, not Expression::Matrix 2018-07-18 10:32:46 +02:00
Léa Saviot
aed2632c9f [apps/reg] Light fix of power and logistic regressions 2018-07-18 10:32:46 +02:00
Léa Saviot
01fe25e4a1 [apps/reg] No regression if number of points inferior to coefficients
More specifically, prevent a regression if the number of unique point
abscissae is inferior to the number of coefficients to find.
2018-07-18 10:32:45 +02:00
Léa Saviot
a8b2183afa [apps/reg] Prevent fitting when data not suitable 2018-07-18 10:32:45 +02:00
Léa Saviot
1c8ff9bd83 [apps/reg] Put levenberg-marquardt methods in Model 2018-07-18 10:32:45 +02:00