Skip to content

Commit

Permalink
Set the MBG/NBD model as the default
Browse files Browse the repository at this point in the history
Change-Id: Ia80af287fcd4422cb0ecb0da9cd7e0eada8bbda5
GitOrigin-RevId: e40ddb3ce7d5552f951685fb82f3349b5284a4cb
  • Loading branch information
mohabfekry authored and copybara-github committed Feb 3, 2021
1 parent 858fa28 commit 94748ee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"name": "frequency_model_type",
"label": "Frequency Model Type",
"is_optional": true,
"helpText": "[Default BGNBD] \"BGNBD\", \"MBGNBD\" or \"PNBD\". BG/NBD (or MBG/NBD) vs Pareto/NBD frequency models."
"helpText": "[Default MBGNBD] \"BGNBD\", \"MBGNBD\" or \"PNBD\". BG/NBD (or MBG/NBD) vs Pareto/NBD frequency models."
},
{
"regexes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"name": "frequency_model_type",
"label": "Frequency Model Type",
"is_optional": true,
"helpText": "[Default BGNBD] \"BGNBD\", \"MBGNBD\" or \"PNBD\". BG/NBD (or MBG/NBD) vs Pareto/NBD frequency models."
"helpText": "[Default MBGNBD] \"BGNBD\", \"MBGNBD\" or \"PNBD\". BG/NBD (or MBG/NBD) vs Pareto/NBD frequency models."
},
{
"regexes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _add_argparse_args(cls, parser):
f'--{c._OPTION_MODEL_TIME_GRANULARITY}',
default=c.TimeGranularityParams.GRANULARITY_WEEKLY)
parser.add_value_provider_argument(
f'--{c._OPTION_FREQUENCY_MODEL_TYPE}', default=c._MODEL_TYPE_BGNBD)
f'--{c._OPTION_FREQUENCY_MODEL_TYPE}', default=c._MODEL_TYPE_MBGNBD)
parser.add_value_provider_argument(
f'--{c._OPTION_CALIBRATION_START_DATE}')
parser.add_value_provider_argument(f'--{c._OPTION_CALIBRATION_END_DATE}')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _add_argparse_args(cls, parser):
f'--{c._OPTION_MODEL_TIME_GRANULARITY}',
default=c.TimeGranularityParams.GRANULARITY_WEEKLY)
parser.add_value_provider_argument(
f'--{c._OPTION_FREQUENCY_MODEL_TYPE}', default=c._MODEL_TYPE_BGNBD)
f'--{c._OPTION_FREQUENCY_MODEL_TYPE}', default=c._MODEL_TYPE_MBGNBD)
parser.add_value_provider_argument(
f'--{c._OPTION_CALIBRATION_START_DATE}')
parser.add_value_provider_argument(f'--{c._OPTION_CALIBRATION_END_DATE}')
Expand Down

0 comments on commit 94748ee

Please sign in to comment.