Marcel Stimberg
Marcel Stimberg
I've setup a basic framework for benchmarking in the `brian-team/brian2_benchmarks` repository. It seems to work fine so far. I added a few "full" benchmarks (examples like CUBA and COBAHH, but...
In principle it could be useful, we could have it run the benchmarks for each and every commit. But I'm not 100% sure that it is worth the effort. Either...
> Well I could probably find an unused older machine lying around here somewhere that could be dedicated to this task, but only if it's worth the effort and it...
> Can it do memory performance too? Yes, it can measure the size of Python objects (less useful for us I guess), and the approximate peak memory usage during a...
(Explanation: you simply call a function `time_...` to measure the runtime or `peakmem_...` to measure the peak memory use -- couldn't be much simpler than that)
I keep updating the `pickling_networks` branch to get an idea of where the issues are. Some thoughts: I realized that storing the network state with pickling is non-trivial since we...
@rahuliitg's [comment in #1162](https://github.com/brian-team/brian2/issues/1162#issuecomment-597886716): > Hi @mstimberg I'm thinking of using linear regression to approximate the remaining time (http://code.activestate.com/recipes/578914-simple-linear-regression-with-pure-python/). I've seen other techniques like this one - https://en.wikipedia.org/wiki/Pearson_correlation_coefficient as well
Hi @rahuliitg. I'm not quite sure what linear regression would look like in this case. My intuition is that it's rather more complicated than what we need. To make clearer...
Hi @zeph1yr . Something like this could indeed be interesting. I think the most interesting would be to give a range (e.g. the 95% interval) instead of a probability for...
> Hello @mstimberg . How can I extract the actual value of the Quantity object (without the unit attached)? See https://brian2.readthedocs.io/en/stable/user/units.html#removing-units If `q` is an array of values, the easiest...