Open msuchard opened 7 years ago
@cgz59 -- can you work on iterations.R#552
. The time is either the repeated matrix allocation or the floating-point operations.
Sure I'll investigate that.
Thanks! Best, Chiyu
On Tue, Jul 11, 2017 at 10:56 PM Marc Suchard notifications@github.com wrote:
@cgz59 https://github.com/cgz59 -- can you work on iterations.R#552. The time is either the repeated matrix allocation or the floating-point operations.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/suchard-group/NPCluster/issues/1#issuecomment-314637741, or mute the thread https://github.com/notifications/unsubscribe-auth/AcsO2Op--_cdeuaeUN6G4I8KWICAuldmks5sNEQBgaJpZM4OUnJX .
-- Best Regards.
Chiyu Gu
@SubhaGuha -- glad to see you on-board here. Please check out line-by-line prof above.
What does the UCI_NIPS_1987_2015_p-n_10
line-by-line profile look like now (after fixes to line 552)?
@msuchard we actually disabled the calculation of line 552, which is not necessary for large n. The line-by-line profile now looks like this:
self.time self.pct total.time total.pct
RcppExports.R#57 2750.02 81.41 2750.02 81.41 RcppExports.R#53 384.48 11.38 384.48 11.38 iterations.R#80 18.14 0.54 18.14 0.54 fast_PDP.functions.R#625 15.62 0.46 15.62 0.46 fast_PDP.functions.R#615 11.96 0.35 11.96 0.35 fast_PDP.functions.R#644 11.92 0.35 11.92 0.35 fast_PDP.functions.R#980 11.40 0.34 11.40 0.34 RcppExports.R#61 11.14 0.33 11.14 0.33 fast_PDP.functions.R#1054 11.08 0.33 11.08 0.33 fast_PDP.functions.R#1062 8.76 0.26 8.76 0.26 RcppExports.R#45 8.68 0.26 8.68 0.26 iterations.R#149 7.38 0.22 7.38 0.22 fast_PDP.functions.R#100 6.92 0.20 6.92 0.20 fast_PDP.functions.R#104 6.82 0.20 6.82 0.20 fast_PDP.functions.R#452 6.18 0.18 6.18 0.18 RcppExports.R#81 6.02 0.18 6.02 0.18 fast_PDP.functions.R#998 6.00 0.18 6.00 0.18 fast_PDP.functions.R#741 5.94 0.18 5.94 0.18
Please let me know if you need something more.
Thanks!
self.time self.pct total.time total.pct
RcppExports.R#57 2750.02 81.41 2750.02 81.41
RcppExports.R#53 384.48 11.38 384.48 11.38
iterations.R#80 18.14 0.54 18.14 0.54
fast_PDP.functions.R#625 15.62 0.46 15.62 0.46
fast_PDP.functions.R#615 11.96 0.35 11.96 0.35
fast_PDP.functions.R#644 11.92 0.35 11.92 0.35
fast_PDP.functions.R#980 11.40 0.34 11.40 0.34
RcppExports.R#61 11.14 0.33 11.14 0.33
fast_PDP.functions.R#1054 11.08 0.33 11.08 0.33
fast_PDP.functions.R#1062 8.76 0.26 8.76 0.26
RcppExports.R#45 8.68 0.26 8.68 0.26
iterations.R#149 7.38 0.22 7.38 0.22
fast_PDP.functions.R#100 6.92 0.20 6.92 0.20
fast_PDP.functions.R#104 6.82 0.20 6.82 0.20
fast_PDP.functions.R#452 6.18 0.18 6.18 0.18
RcppExports.R#81 6.02 0.18 6.02 0.18
fast_PDP.functions.R#998 6.00 0.18 6.00 0.18
fast_PDP.functions.R#741 5.94 0.18 5.94 0.18
Thanks for looking into this, Marc. Please let us know if Chiyu or I can help in any way.
Data-source:
UCI_NIPS_1987_2015_p-n_10
: