Created
May 20, 2021 04:53
-
-
Save Dhrumilcse/e16acac4844d8e0552319b05ddc111f6 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
# Load existing vectorizer/model to make predictions | |
count_vectorizer = joblib.load("../supplementary/count_vectorizer") | |
data_ = data["Message"].tolist() | |
x_test = count_vectorizer.transform(data_) | |
model = joblib.load("../supplementary/game_classifier") | |
y_predicted = model.predict(x_test) | |
with data_process_output: | |
print(f"Predicted total {len(y_predicted)} values... Done.") | |
print(f"Mapping predictions...") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment