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

rasbt / mlxtend / 2021
91%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2019 10:16PM UTC
Jobs 1
Files 173
Run time 25s
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
2021

push

travis-ci

rasbt
let fpgrowth and fpmax work directly with sparse input (#622)

* let fpgrowth and fpmax work directly with sparse input

If transactions are stored in a sparse matrix, it was first converted
into a dense Numpy array in setup_fptree before processing.

This commit allows to build the FPTree directly from sparse input, which
may save memory and processing time.  This is used by both fpgrowth and
fpmax.  There is no change after FPTree is being built.

* in setup_fptree, ensure that sparse DataFrame has no zeroes

In a212806 we assumed that all values in sparse DataFrame are non null,
which should always be true.  In order to avoid this corner case, we
now call itemsets.eliminate_zeros().  The alternative would be to replace
   nonnull = itemsets.indices[itemsets.indptr[i]:itemsets.indptr[i+1]]
by
   values = itemsets.data[itemsets.indptr[i]:itemsets.indptr[i+1]]
   nonnull = itemsets.indices[itemsets.indptr[i] + values.nonzero()[0]]
but it is slower.

Add a test case.

* fix pep8 issue

1784 of 2249 branches covered (79.32%)

36 of 36 new or added lines in 3 files covered. (100.0%)

8231 of 8913 relevant lines covered (92.35%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2021.2 (LATEST="true" IMAGE="true" COVERAGE="true" NOTEBOOKS="true" MINICONDA_PYTHON_VERSION=3.7) 06 Nov 2019 10:16PM UTC 0
92.35
Travis Job 2021.2
Source Files on build 2021
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2021
  • 23296d83 on github
  • Prev Build on master (#2017)
  • Next Build on master (#2027)
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

© 2025 Coveralls, Inc