plot_period_transactions with low "s" parameter
See original GitHub issueHello, I have problem with plot_period_transactions for estimated Pareto/NBD parameters. Parameters:
OrderedDict([('r', 1.2264068998969124),
('alpha', 12.16294151917949),
('s', 4.6377925306795664e-10),
('beta', 32.52434379061591)])
I get this error message:
C:\ProgramData\Anaconda3\lib\site-packages\lifetimes\generate_data.py:105: RuntimeWarning: divide by zero encountered in double_scalars
time_of_death = stats.expon.rvs(scale=1. / mu)
I think this issue comes with “s” parameter, which is extreamly low. Could you confirm it? Is it bug or I do something wrong?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
RF engineering basic concepts: S-parameters
Abstract. The concept of describing RF circuits in terms of waves is discussed and the. S-matrix and related matrices are defined.
Read more >S-Parameters
The S-parameters can be measured by embedding the two-port network (the device- under-test, or, DUT) in a transmission line whose ends are ...
Read more >Microwaves101 | S-parameters
Definition of S-parameters. S-parameters describe the response of an N-port network to signal(s) incident to any or all of the ports. The first...
Read more >S-Parameter Techniques – HP Application Note 95-1
At low frequencies most circuits behave in a predictable manner and can be described by a group of replaceable, lumped-equivalent black boxes. At...
Read more >Scattering parameters
Scattering parameters or S-parameters describe the electrical behavior of linear electrical networks when undergoing various steady state stimuli by ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @CamDavidsonPilon Do you have any conclusions why CLV is wrongly calculated for this dataset. Have you made any statistics that can explain the low value of s?
Kind regards, Leszek
the
s
parameter controls how fast people die, so I would do some summary statistics on your training data. Perhaps there is something wrong there.