You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
words = [word for word in words if word not in set(stopwords.words('english'))]
vector_input = vectorizer.transform(words)
pred = loaded_model.predict_proba(vector_input)
anx, con, dep, mas = pred[0].tolist()
prediction = f"The probability of this experience to be related to Anxiety : {anx:.2f}, Depression : {dep:.2f}, Autistic Masking : {mas:.2f}, unrelated to any of the earlier mentioned disorders : {con:.2f}"