Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ReidWilliams/20cfdeb1dd4d90201b24d40a3e5a181d to your computer and use it in GitHub Desktop.
Save ReidWilliams/20cfdeb1dd4d90201b24d40a3e5a181d to your computer and use it in GitHub Desktop.
python_docs.py
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