meridian.analysis.optimizer.get_round_factor

Gets the number of integer digits to round off of budget.

budget
Float number for total advertising budget.
gtol
Float indicating the acceptable relative error for the budget used in the grid setup. The budget will be rounded by 10*n , where n is the smallest int such that (budget - rounded_budget) <= (budget * gtol) . gtol must be less than 1.

Integer number of digits to round budget to.

Design a Mobile Site
View Site in Mobile | Classic
Share by: