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

scikit-learn / scikit-learn / 18066
17%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2016 10:26PM UTC
Jobs 1
Files 343
Run time 13s
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
18066

push

travis-ci

MechCoder
Add the possibility to add prior to Gaussian Naive Bayes

Added the following things:
* Test when the sum is not equal to one
* Test the prediction in case of a large bias for one class
* Test explicitely class_prior_
* Move the function to update the class prior in the GaussianNB class
* Remove the updating of the class prior before to actually compute the mean and variance

Address comments for PR #6180 - Correct the documentation

Address comment PR#6180 - Improve the class prior initialisation and updating
We modify the code to:
* Initialisat self.class_prior_ with the different possibilities (class_prior given or not, fit_prior True or False)
* Update self.class_prior_ only when no class_prior is given and than fit_prior is True

Address comments PR #6180 - Remove useless line

Fix the file according to PEP8 regulations

Update the API to have only class_prior in GaussianNB

Correct prior fitting using samples and not class number

Change name of priors and correct the warning with division by zero

Update the API

Remove functions which were called only once

Add additional test for part of the code which was not covered in GaussianNB

Correct doc formatting

Correct spelling

50142 of 53334 relevant lines covered (94.02%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18066.1 (DISTRIB="ubuntu" PYTHON_VERSION="2.7" CYTHON_VERSION="0.23.4" CACHED_BUILD_DIR="$HOME/sklearn_build_ubuntu" COVERAGE=true) 22 Mar 2016 10:26PM UTC 0
94.02
Travis Job 18066.1
Source Files on build 18066
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #18066
  • b3c22194 on github
  • Prev Build on master (#18061)
  • Next Build on master (#18067)
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