You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,7 +165,40 @@ The filling functions can be called also with a specific backend policy and with
165
165
166
166
#### Data fitting
167
167
168
-
1. Adding support to simultaneous fit.
168
+
1. Added support to multi-layered simultaneous fit of different models, over different datasets, deploying different parallelization strategies for each model. No categorization of the dataset is needed, but just to set up preliminarly the different component FCNs, that can be optimized in isolation or in the context of the simultaneous FCN. Simultaneous FCNs can be created via direct instantiation or using the convenience function `hydra::make_simultaneous_fcn(...)`, as shown in the following snippet.
auto fcnX = hydra::make_loglikehood_fcn(modelX, dataX);
189
+
auto fcnY = hydra::make_loglikehood_fcn(modelY, dataY);
190
+
auto fcnW = hydra::make_loglikehood_fcn(modelY, dataY);
191
+
auto fcnZ = hydra::make_loglikehood_fcn(modelZ, dataZ);
192
+
auto fcnV = hydra::make_loglikehood_fcn(modelv, datav);
193
+
194
+
auto sim_fcn1 = hydra::make_simultaneous_fcn(fcnx, fcny);
195
+
auto sim_fcn2 = hydra::make_simultaneous_fcn(fcnw, fcnz);
196
+
auto sim_fcn = hydra::make_simultaneous_fcn(sim_fcn1, sim_fcn2, fcnV);
197
+
...
198
+
}
199
+
```
200
+
Moreover, the generic interface allows to build up a simultaneous FCN object by composing usual FCNs and simultaneous FCNs. An example of such new method can be found in `examples/fit/simultaneous_fit.inl`.
0 commit comments