Coder Social home page Coder Social logo

model-evaluation's Introduction

A Practical and General Approach for Model Evaluation

This repository contains all source codes and data files used in the experiments of the manuscript "Technical note: “Bit by bit”: A practical and general approach for evaluating model computational complexity vs. model performance".

Requirements

  • Matlab
  • Python >= 3
    • Numpy
    • Pandas
    • Scipy
    • Keras
    • H5py
  • Strace
    • Available at linux software repositories

Get started

Strace commands and the related files can be found in the strace directory. First run "bash_pymodel.sh" that may take long, since the evaluation code is repeated for 100 times. After having all results in the logs directory, run "bash_logsum.sh" to sum up all read operations and obtain a "avg_read.log" file as a final result. Run the scripts as root.

In order to make the plots, add the whole project into the Matlab path and first run the "evaluate_model_output.m" from scripts to calculate the conditional entropy of target given the model output. Then, run the other plot scripts to make the related plots saved at output directory.

Contact

Uwe Ehret: [email protected]
Elnaz Azmi: [email protected]

model-evaluation's People

Contributors

elnazazmi avatar

Stargazers

Xi Chen avatar

Watchers

James Cloos avatar Mirko Mälicke avatar Conrad Jackisch avatar Lucas Reid avatar  avatar

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.