• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

blei-lab / edward / 4813
90%

Build:
DEFAULT BRANCH: master
Ran 03 Oct 2017 02:50PM UTC
Jobs 2
Files 41
Run time 25min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4813

push

travis-ci

dustinvtran
Multinomial classification metrics (#743)

* evaluate kl-divergence for multinomial outputs (#664)

* add kl-divergence test (#664)

* if `total_count` > 1, generate single multinomial prediction before
evaluating metrics (#664)

* WIP: implement `compute_multinomial_mode`, add test

* WIP2: implement `compute_multinomial_mode`, add test

* WIP3: implement `compute_multinomial_mode`, add test

* WIP4: implement `compute_multinomial_mode`, add test

* if `output_key` is a {binary, categorical}_discrete, convert `probs` to tf.Tensor at end of if-block

* pep8 compliance

* add `multinomial_accuracy` metric, test

* ensure that `size` argument in np.random.choice is an int

* handle case when `total_count == 1`

* add scikit-learn-style binary classification aggregation metrics

* fix indents

* remove dummy file

* fix line-spacing

* expand dimensions of `y_true` and `y_pred` `if len(y_true.shape) == 0`

* correct 4-space indent to 2 spaces

* correct formula for kl-divergence

* implement API for specifying binary-averaging method; add tests

* add random seed to tests

* employ `assertAllEqual` when evaluating equality of numpy arrays

* fix pep8

* add docstrings

* cosmetic changes

* move softmax function into `compute_multinomial_mode`

* add docstring

* replace the red text

* ensure docstring lines < 80 characters

106 of 106 new or added lines in 4 files covered. (100.0%)

2979 of 3343 relevant lines covered (89.11%)

1.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
edward/util/metrics.py
2
100.0
edward/util/random_variables.py
12
100.0
edward/criticisms/evaluate.py
Jobs
ID Job ID Ran Files Coverage
1 4813.1 03 Oct 2017 02:50PM UTC 0
89.08
Travis Job 4813.1
2 4813.2 03 Oct 2017 03:16PM UTC 0
89.08
Travis Job 4813.2
Source Files on build 4813
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4813
  • 4fafb0f3 on github
  • Prev Build on master (#4789)
  • Next Build on master (#4818)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc