GithubHelp home page GithubHelp logo

aauss / epi-quark Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 1008 KB

Based on labeled data, multi-class and multi-label scoring of outbreak detection, annotation or prediction algorithms.

License: MIT License

Python 100.00%
epidemiology infectious-diseases python

epi-quark's People

Contributors

aauss avatar lgtm-com[bot] avatar stephaneghozzi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lgtm-migrator

epi-quark's Issues

GitHub project short description "about"

current version:

"Scoring the detection, labeling, and prediction performance of disease outbreak detection algorithms across different algorithm families."

proposal:

"Based on labeled data, multi-class and multi-label scoring of outbreak detection, annotation or prediction algorithms."

This should be coherent with documentation (https://github.com/aauss/epi-quark/blob/master/README.md, https://github.com/aauss/epi-quark/blob/master/docs/source/index.rst).

allow for user-defined weights for individual cells

This could be implemented by adding an optional column "weight" to the input case data:

If the column is absent, and weights are not computed via epi-quark, then all weights are 1.

Accordingly, one more value for parameter weighting of calc_score() should be added to the values allowed. (This seems safer to me than implicitly taking the user-defined weights when they are provided... this also ensures that the user chooses which type of weight they want, e.g., not user defined and time-space at the same time.)

allow for posteriors p(d|s) between outbreak labels and signals

They should be stored in a new input table of the following form:

data_label signal_label value
... ... ...

The resulting data frame is used as argument of score functions computing the probabilities.

For outbreak labels not present: flat beside endemic and non-case.

allow for non-integer case numbers

Relevant for scoring is the expected case number for each outbreak class and data cell.

Since each case should be allowed different probabilities of belonging to different outbreak classes, the expected case number need not be integer.

N.B. Since a case can belong to many classes, these probabilities need not sum up to 1 and there is no constraint on the expected case number beside being >= 0.

If I'm not mistaken no code change is necessary, only the description of value in the API and scorer documentations should be modified and sentence This value must be a positive integer. removed across https://github.com/aauss/epi-quark/blob/master/epiquark/api.py and https://github.com/aauss/epi-quark/blob/master/epiquark/scorer.py

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.