Created
June 22, 2015 14:54
-
-
Save anonymous/ed3db30a01351fe25f21 to your computer and use it in GitHub Desktop.
StatsModels Abstraction
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
class StatsModelsSettings(): | |
""" | |
This class contains settings for the statsmodels package, settings include, | |
* exponent:int - when equal to one this is a straight line, when >1 this is a curve | |
* confidence:boolean - specifies whether confidence lines should be calculated and plotted | |
""" | |
exponent = 1 | |
confidence = False | |
def __init__(self, exponent=1, confidence=False): | |
""" | |
This initialization method constructs a new StatsModelSettings object | |
""" | |
self.exponent = exponent | |
self.confidence = confidence | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment