Created
March 2, 2022 05:46
-
-
Save meraldo-aliz/41b769936f921419c1d6aa773282b9bf to your computer and use it in GitHub Desktop.
lifetimes
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
from sklearn.metrics import mean_squared_error | |
RMSE = mean_squared_error(y_true = rfm_cal_holdout["n_transactions_holdout_real"], | |
y_pred = rfm_cal_holdout["n_transactions_holdout_pred"], | |
squared = False) | |
RMSE # = 1.3536793286521 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment