Léa Saviot
2e5e2a3258
[apps/regression] Rename Affine -> Linear and Linear -> Proportional
2020-05-13 15:25:33 +02:00
Joachim LF
5297f28ffa
[Regression] Switched affine and linear
2020-05-13 15:25:33 +02:00
Joachim LF
833f6ec778
[Regression] Add affine regression
2020-05-13 15:25:33 +02:00
Romain Goyet
84768472bd
Explicit std::min/max template usage
...
This is unfortunately required in several cases:
- Sometimes when we use either float and double (this should be changed)
- Because KDCoordinate is not an int, so any arithmemtic promotes it to
an int
- Because we mix pointer differences and ints
2020-04-14 09:31:02 -04:00
Romain Goyet
950862f8d0
Use std::min and std::max
2020-04-14 09:31:02 -04:00
Léa Saviot
702772a7c9
[apps/reg] Store::m_seriesChecksum is Snapshot::m_prevModelsVersions
...
Share these objects instead of duplicating them
2020-03-11 11:43:36 +01:00
Léa Saviot
f6c15198bc
[apps/regression] Power regression uses logarithm of series
...
This matches other apps results and we directly compute the values from
the data instead of doing a gradient descent.
2020-02-12 15:13:21 +01:00
Émilie Feral
45d42287e2
[apps/shared] MemoizedCurveViewRange is composed of two Range1D to
...
factorize setters and getters
2019-09-03 15:34:35 +02:00
Ruben Dashyan
e99196b2ea
[apps/interactive_curve_view_range] Clean yAuto
2019-08-29 15:13:41 +02:00
Ruben Dashyan
62cec10b46
[apps] Clean unnecessary AppsContainer class declarations and header inclusions
2019-07-19 15:06:25 +02:00
Ruben Dashyan
a36ea6d1e3
[apps/regression] Use a new helper to compute linear regression coefficients
2019-05-29 11:27:30 +02:00
Ruben Dashyan
67f9f79322
[apps] Implement InteractiveCurveViewController::isCursorVisible
...
It was a pure virtual method implemented in derived classes
Shared::FunctionGraphController,
Regression::GraphController.
InteractiveCurveViewRange does not need anymore to hold CurveViewCursor
* m_cursor.
2019-05-03 15:54:21 +02:00
Léa Saviot
496d346049
Remove max/min inline from KDCoordinate header
2019-05-03 15:53:19 +02:00
Léa Saviot
42cdf95e9f
[apps/regression] Improve vertical navigation
...
Data set:
X1 2 3 2 1
Y1 0 1 0.5 5
X2 1 10 2
Y2 0 25 0.5
There was circular navigation on series 2 mean point
2018-12-13 15:56:33 +01:00
Léa Saviot
15c5d2af1b
[apps/regression] Fix vertical navigation if 2 series have same point
...
Data set:
X1: 8 9 10 10
Y1: 2 5 1 2
X2: 10 12 5
Y2: 2 0 8
2018-12-12 17:50:03 +01:00
Léa Saviot
460c21801f
[apps/regression] More intuitive curve/dot vertical navigation
2018-12-12 11:14:51 +01:00
Léa Saviot
e3935fd9c0
[apps] Factorize closestCurveIndexVertically from Regression and Graph
2018-11-23 12:04:08 +01:00
Léa Saviot
28189aadac
[apps/regression] Fix selection problem when 2 regressions are equal
...
When going down, the cursor would loop between the 2 equal regressions
without going to lower regressions
2018-11-23 12:04:08 +01:00
Émilie Feral
1b0cd43b56
[regression] Tidy the models' layouts before leaving the app
2018-09-14 15:13:20 +02:00
Émilie Feral
3268a0cb41
[regression] Get rid of dynamic allocation in Store
2018-09-11 13:20:06 +02:00
Émilie Feral
48f890ef93
[poincare] AngleUnit, FormatComplex and PrintFloatMode are now
...
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
e61a408a0a
[poincare] Get rid of AngleUnit::Default
2018-07-18 17:09:07 +02:00
Léa Saviot
42d2a06eee
[apps/reg] Fix cursor navigation bug
...
When going UP, the cursor was sometimes stuck on a point on a regression, switching
between the point and the regression endlessly. Example data set:
X1 = [1, 2, 3, 4, 5] and Y1 = [1, 5, 6, 77, 5]
2018-07-18 10:32:46 +02:00
Léa Saviot
68d915fb3e
[apps/reg] Fix window sizing: cursor appears even with big bannerview
2018-07-18 10:32:46 +02:00
Léa Saviot
6e888fb718
[apps/reg] Recompute trigonometric regressions if angle unit changed
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
5f865814f0
[apps/reg] Each regression model can evaluate levelSets (= antecedents)
2018-07-18 10:32:45 +02:00
Léa Saviot
faa52fc66f
[apps/reg] Memoize the regression coefficients
2018-07-18 10:32:45 +02:00
Léa Saviot
e777a191c6
[apps/regression] Draw the right regression curve
2018-07-18 10:32:45 +02:00
Léa Saviot
6ca4ecb635
[apps/regression] Display the regression type menu
2018-07-18 10:32:45 +02:00
Léa Saviot
a83ef756b3
[apps/stats/reg] Share Store methods
2018-06-12 15:50:42 +02:00
Léa Saviot
70ad21232d
[apps/shared] FloatPairStore -> DoublePairStore
2018-06-11 13:58:25 +02:00
Léa Saviot
0c2c998362
[apps/regression] Navigation between different series in graph
2018-06-11 13:58:24 +02:00
Léa Saviot
060d2a7c43
[apps/regression] Fix graph cursor navigation
2018-06-11 13:58:24 +02:00
Léa Saviot
32e00b5e1e
[apps/reg] Init the graph selected series at cursor initialization
2018-06-11 13:58:24 +02:00
Léa Saviot
f6823c038f
[[apps/regression] Fix regression (now compiles)
2018-06-11 13:58:24 +02:00
Léa Saviot
1f02b8201e
[apps/regression] Fix regression
2018-06-11 13:58:24 +02:00
Léa Saviot
7637183055
[apps] Multiple series in regression/store
2018-05-29 15:34:48 +02:00
Léa Saviot
25713dc950
[apps] Clean and inline regression/store
2018-05-29 15:34:48 +02:00
Émilie Feral
15610064fa
Coverity: fix unitialized pointer fields, out of bounds reads ...
...
Change-Id: Iae0656ffe667692dfb3bebf9bb7913b5872175c6
2017-12-06 14:50:26 +01:00
Émilie Feral
f0a776a670
[apps] Operations in double when precision required
...
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
1964d61fdc
[libaxx] add cmath and use cmath instead of math.h when required
...
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Émilie Feral
98a877082c
[apps/shared] Factorize regression and function did change range method
...
Change-Id: Ie4ddefe883a4a0c40f50b5b2afe3d6eb7aa78e0e
2017-06-16 09:56:55 +02:00
Émilie Feral
a6cbd1cb93
[apps/regression] Handle edge cases in regression
...
Change-Id: Id4a88e19a44ba054db35025173ba0344a989d15e
2017-06-08 17:40:29 +02:00
Émilie Feral
fe86517ab4
[apps/regression] Fix edge cases in correlation coefficient computing
...
Change-Id: Ief566332e67ae3155366e51dd989162d3bb9ff0f
2017-06-05 12:06:54 +02:00
Émilie Feral
680c84e413
Clean with clang analyzer
...
Change-Id: I4897b3a88795d76f4ac7e6f788a7e6d19397dbfd
2017-03-28 14:49:28 +02:00
Émilie Feral
4b3e5f30b6
[apps/regession] Return warning when the user want to go to a point no
...
reached by the regression curve
Change-Id: Iefaabcc470e65ee5bc2b447af9f2dacbf2902f31
2017-02-20 10:54:02 +01:00
Émilie Feral
23026b6718
[apps/shared] Namespace shared
...
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00
Émilie Feral
93d272486f
Clean warnings
...
Change-Id: I79a3a97c5c118c9d6e1436e51b45cb51fee3c21f
2017-01-30 15:30:58 +01:00
Émilie Feral
c3008ca360
[apps] Improvements of MVC structure regarding curve views and ranges
...
Change-Id: Iec8031dbf349c34c18694dffabd02ef9c88ebf2d
2017-01-18 14:31:42 +01:00