-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As went to CRAN: * More memory efficient and faster creation of repeat transactions in `clv.data` * Use existing repeat transactions when calling `gg` with `remove.first.transaction = TRUE` * Simplify the formula interfaces `latentAttrition()` and `spending()` * Add `predicted.total.spending` to predictions * Harmonize parameter names used in various S3 methods * Bootstrapping: Add facilities to estimate parameter uncertainty for all models * Ability to predict future transactions of customers with no existing transaction history * New start parameters for all latent attrition models * Pareto/NBD dyncov: Improved numeric stability of PAlive * GGomNBD: Implement erratum by Jost Adler to predict CET correctly * GGomNBD: Improve numerical stability and runtime of LL integral * GGomNBD: Implement PMF as derived by Jost Adler * lrtest(): Likelihood ratio testing for latent attrition models * Accept `data.table::IDate` as data inputs to `clvdata` * `summary.clv.data`:Much faster by improving the calculation of the mean inter-purchase time * Reduced fitting times for all models by using a compressed CBS as input to the LL sum * Faster hessian calculation if a model was using correlation * Estimating the Pareto/NBD dyncov with correlation was not possible * GGomNBD: Free workspace after it is not used anymore to avoid memory-leak * `SetDynamicCovariates`: Verify there is no covariate data for nonexistent customers * Fix docu for Pareto/NBD start parameters
- Loading branch information
Showing
147 changed files
with
6,480 additions
and
2,176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: CLVTools | ||
Title: Tools for Customer Lifetime Value Estimation | ||
Version: 0.10.0 | ||
Date: 2023-10-23 | ||
Version: 0.11.0 | ||
Date: 2024-08-15 | ||
Authors@R: c( | ||
person(given="Patrick", family="Bachmann", email = "[email protected]", role = c("cre","aut")), | ||
person(given="Niels", family="Kuebler", email = "[email protected]", role = "aut"), | ||
|
@@ -33,9 +33,11 @@ Description: | |
Further, we provide an implementation of the Gamma/Gamma model to model the spending process of individuals. | ||
Imports: | ||
data.table (>= 1.12.0), | ||
digest (>= 0.6.0), | ||
Formula (>= 1.2-4), | ||
ggplot2 (>= 3.2.0), | ||
lubridate (>= 1.7.8), | ||
numDeriv (>= 2016.8-1.1), | ||
Matrix (>= 1.2-17), | ||
MASS, | ||
optimx (>= 2019-12.02), | ||
|
@@ -47,12 +49,14 @@ Suggests: | |
knitr, | ||
rmarkdown, | ||
xml2, | ||
testthat (>= 3.0.0) | ||
testthat (>= 3.0.0), | ||
lmtest | ||
License: GPL-3 | ||
URL: https://github.com/bachmannpatrick/CLVTools | ||
BugReports: https://github.com/bachmannpatrick/CLVTools/issues | ||
NeedsCompilation: yes | ||
LinkingTo: Rcpp, RcppArmadillo (>= 0.9.500.2.0), RcppGSL (>= 0.3.7), testthat | ||
LinkingTo: Rcpp, RcppArmadillo (>= 0.11.4.0.1), RcppGSL (>= 0.3.7), testthat | ||
SystemRequirements: GNU GSL | ||
LazyLoad: yes | ||
Encoding: UTF-8 | ||
Collate: | ||
|
@@ -101,6 +105,9 @@ Collate: | |
'f_DoExpectation.R' | ||
'f_clvdata_inputchecks.R' | ||
'f_clvfitted_inputchecks.R' | ||
'f_generics_clvdata.R' | ||
'f_generics_clvdatadyncov.R' | ||
'f_generics_clvdatastaticcov.R' | ||
'f_generics_clvfitted.R' | ||
'f_generics_clvfitted_estimate.R' | ||
'f_generics_clvfittedspending.R' | ||
|
@@ -111,10 +118,13 @@ Collate: | |
'f_generics_clvpnbddyncov.R' | ||
'f_interface_bgbb.R' | ||
'f_interface_bgnbd.R' | ||
'f_interface_bootstrappedapply.R' | ||
'f_interface_clvdata.R' | ||
'f_interface_gg.R' | ||
'f_interface_ggomnbd.R' | ||
'f_interface_latentattrition.R' | ||
'f_interface_lrtest.R' | ||
'f_interface_newcustomer.R' | ||
'f_interface_pmf.R' | ||
'f_interface_pnbd.R' | ||
'f_interface_predict_clvfittedspending.R' | ||
|
@@ -144,7 +154,7 @@ Collate: | |
'pnbd_dyncov_createwalks.R' | ||
'pnbd_dyncov_expectation.R' | ||
'pnbd_dyncov_palive.R' | ||
RoxygenNote: 7.2.3 | ||
RoxygenNote: 7.3.1 | ||
VignetteBuilder: knitr | ||
Config/testthat/parallel: false | ||
Config/testthat/edition: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.