Git Product home page Git Product logo

neurtu's People

Contributors

glemaitre avatar rth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rth glemaitre

neurtu's Issues

Support non cumulative metrics from psutil

Related to #18, some metrics in psutil are not cumulative (e.g. the number of open file descriptors), meaning that to evaluate some code with it, one needs to measure the quantity in question in parallel with some frequency.

This is, for instance, the case for memory usage and a similar approach is taken in memory_profiler to estimate the peak memory usage.

Support pandas < 0.20

Currently if pandas is used, version 0.20+ is required because of this section,

neurtu/neurtu/base.py

Lines 212 to 218 in 24dc326

if self.repeat > 1 and self.aggregate:
if index == ['runid']:
# no tags were passed
db = db.agg(self.aggregate)
else:
index.remove('runid')
db = db.groupby(index).agg(self.aggregate)

which fail for earlier versions if I remember correctly.

There should be a way to achieve the same result with earlier versions of pandas though.

To test it, one should decrease the tested pandas version in Travis CI.

Release 0.3

There have been a few updates to the code base, and it would be good to upload a new release on PyPi.

Measure CPU time

The timeit.default_timer() measures wall time, it would be worth adding another timer for CPU time, as IPython does,

-c: use time.clock to measure the time, which is the default on Windows and measures wall time. On Unix, resource.getrusage is used instead and returns the CPU user time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.