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

wwrechard / pydlm / 161 / 1
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 19 Dec 2018 09:42AM 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

19 Dec 2018 09:36AM UTC coverage: 76.471%. Remained the same
161.1

push

travis-ci

wwrechard
Temporary fix on the predictN bug.

Currently the predict() function will call a deepcopy to the dlm class itself and the copy is stored as a member variable with the dlm object. As a result, when the predict() is called multiple times, the dlm object is copied recursively and the memory/complxity is exploded in the end.

The temporary solution is to void the _predictModel variable before making the deepcopy. The current predict() complxity is O(n).

TESTED="""
>>> from pydlm import dlm,trend
>>> dlm1 = dlm(range(1000)) + trend(1)
>>> dlm1.fit()
>>> for i in range(1000):
>>> ...   dlm1.predict()
"""

1898 of 2482 relevant lines covered (76.47%)

0.76 hits per line

Source Files on job 161.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 153
  • Travis Job 161.1
  • 7dcc8974 on github
  • Prev Job for on master (#160.1)
  • Next Job for on master (#162.1)
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