google / matched_markets Goto Github PK
View Code? Open in Web Editor NEWMatched Markets is a Python library for design and analysis of Geo experiments using Matched Markets and Time Based Regression.
License: Apache License 2.0
Matched Markets is a Python library for design and analysis of Geo experiments using Matched Markets and Time Based Regression.
License: Apache License 2.0
Hi,
I tried to install the package using pip install git+git://github.com/google/matched_markets.git but I am getting the following error:
error: could not create 'build': File exists
Do you know what might be the cause?
Thanks!
in step 3: Summary of the possible designs, if/when there are no suitable designs (e.g. if budget too low, time period too long, etc.. ) the code returns a type error. Perhaps a more descriptive error message would be helpful.
TypeError Traceback (most recent call last)
in
6 matched_designs = MMclass.exhaustive_search()
7 else:
----> 8 matched_designs = MMclass.greedy_search()
9
10 if len(matched_designs) == 0:
1 frames
/usr/local/lib/python3.8/dist-packages/matched_markets/methodology/tbrmmscore.py in score(self)
87 if self._score is None:
88 self._score = Scoring(
---> 89 int(self.diag.corr_test), int(self.diag.aatest.test_ok),
90 int(self.diag.bbtest.test_ok), int(self.diag.dwtest.test_ok),
91 round(self.diag.corr, 2), 1 / self.diag.required_impact)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Dear developers,
I hope this message finds you well. I am writing to express my gratitude for the matched_markets library and raise some concerns about its practical implementation.
Firstly, I would like to inquire about budget allocation in the experimental plan. Once we have the experimental design ready, the marketing specialist may wonder how to allocate the budget. For example, suppose there are three treatment geos and a budget of $3k for an experiment duration of four weeks. Should the budget be allocated proportionally, such as $1,000 for each geo and $250/week, or should it be allocated depending on historical budget or geo market size? Any guidance or best practices on this matter would be highly appreciated.
Secondly, I would like to address the issue of budget and time constraints. The marketing specialist may not have any budget constraints, and therefore, may not know the recommended budget for measuring a particular marketing channel/strategy. Is there a way to provide an optimal budget for a particular experimental design? The same applies to the duration of the experiment, where the rule of thumb is typically one sales life cycle. Any insights or advice on these matters would be valuable.
Thank you for your time and efforts in developing the matched_markets library. I look forward to hearing your feedback and suggestions.
Best regards,
Albert
I believe this is an error that rose from the recent update on April 5/6. Attached is a screenshot of the error when running a notebook example.
The issue comes from the "selected design" cell and is dealing with these lines that seemed to have been added:
# these are numerical identifier used to denote the two groups
group_treatment = GeoAssignment.TREATMENT
group_control = GeoAssignment.CONTROL
group_excluded = GeoAssignment.EXCLUDED
If I'm not mistaken this is due to the GeoAssignment
class not being imported from common_classes
, but I'm not sure.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.