LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
estimateAt.m
1function estVal = estimateAt(self, nodes)
2
3sn = self.model.getStruct;
4
5if ~iscell(nodes)
6 nodes = {nodes};
7end
8
9switch self.options.method
10 case 'ubr' % utilization based regression
11 estVal = estimator_ubr(self, nodes);
12 case 'ubo' % utilization based optimization
13 estVal = estimator_ubo(self, nodes);
14 case 'erps' % extended regression for PS
15 estVal = estimator_erps(self, nodes);
16 case 'ekf' % Extended Kalman Filter Estimation
17 estVal = estimator_ekf(self, nodes);
18 case 'mcmc' % Gibbs Sampling MCMC
19 estVal = estimator_mcmc(self, nodes);
20 case 'mle' % Maximum Likelihood Estimation
21 estVal = estimator_mle(self, nodes);
22 case 'rnn' % Explainable RNN Estimation
23 estVal = estimator_rnn(self, nodes);
24 case 'mlps' % Maximum Likelihood for PS
25 estVal = estimator_mlps(self, nodes);
26 case 'fmlps' % Fluid Maximum Likelihood for PS
27 estVal = estimator_fmlps(self, nodes);
28 case 'qmle' % Quick MLE
29 estVal = estimator_qmle(self, nodes);
30 case 'gibbs' % Gibbs Sampling
31 estVal = estimator_gibbs(self, nodes);
32 otherwise
33 error('Unknown inference method: %s.', self.options.method);
34end
35
36% update the model parameters
37for n=1:size(nodes, 2)
38 svcProc = nodes{n}.getService;
39 for r=1:sn.nclasses
40 svcProc{r}.setMean(estVal(n, r));
41 end
42end
43self.model.reset;
44
45end
Definition mmt.m:124