Created
September 2, 2023 23:10
-
-
Save elijahbenizzy/d307165b9340a3f86148f880b7dad83c to your computer and use it in GitHub Desktop.
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
def features( | |
time_since_last_login: pd.Series, | |
is_male: pd.Series, | |
is_female: pd.Series, | |
is_high_roller: pd.Series, | |
age_normalized: pd.Series, | |
) -> pd.DataFrame: | |
return pd.DataFrame(locals()) | |
def predictions(features: pd.DataFrame, model: Model) -> pd.Series: | |
return model.predict(features) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment