Created
March 28, 2018 21:27
-
-
Save ReidWilliams/20cfdeb1dd4d90201b24d40a3e5a181d to your computer and use it in GitHub Desktop.
python_docs.py
This file contains hidden or 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
def estimate(self, X): | |
""" Use saved model to predict/estimate retention probability. | |
Arguments: | |
X (dict): dictionary of features, values. | |
Automatically uses model trained on same set of features as | |
X argument. | |
Returns: | |
List of one element, retention probability. | |
""" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment