Optimizer_cpu>Optimizer_cpu.weights_from_pdfs (Calls: 909, Time: 0.361 sec)
Generated 28-May-2016 14:58:46 using performance time.
class method in file /home/johs/work/clustering/src/Optimizer_cpu.m
Copy to new window for comparing multiple runs
Function Name | Function Type | Calls |
...ll_classes_within_confidence_interval | class method | 9 |
Optimizer_cpu>Optimizer_cpu.MoGEM | class method | 900 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
57 | weights = pdfs ./ repmat(sampl... | 909 | 0.195 s | 54.1% | ![]() |
58 | weights(find(not(isfinite(weig... | 909 | 0.069 s | 19.1% | ![]() |
55 | samplewise_total = sum(pdfs,1)... | 909 | 0.060 s | 16.6% | ![]() |
56 | samplewise_total(find(not(isfi... | 909 | 0.029 s | 8.1% | ![]() |
59 | end | 909 | 0.002 s | 0.6% | ![]() |
All other lines | 0.005 s | 1.4% | ![]() | ||
Totals | 0.361 s | 100% |
Line number | Message |
56 | If 'samplewise_total' is an indexed variable, performance can be improved using logical indexing instead of FIND. |
58 | If 'weights' is an indexed variable, performance can be improved using logical indexing instead of FIND. |
Total lines in function | 6 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 5 |
Code lines that did run | 5 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Other subfunctions in this file are not included in this listing.