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

blei-lab / edward / 4813 / 2
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 03 Oct 2017 03:16PM UTC
Files 41
Run time 3s
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

03 Oct 2017 02:37PM UTC coverage: 89.082% (+0.08%) from 88.998%
4813.2

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

2978 of 3343 relevant lines covered (89.08%)

0.89 hits per line

Source Files on job 4813.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4813
  • Travis Job 4813.2
  • 4fafb0f3 on github
  • Prev Job for on master (#4789.2)
  • Next Job for on master (#4818.2)
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