Spacy’s English large and medium size models are shipped with Glove word embeddings. In this tutorial, we will do news classification (fake vs real) using these word embeddings. We will train the Multinomial Naive Bayes classifier and KNN classifier to train the model and compare their performance.

Code: https://github.com/codebasics/nlp-tutorials/blob/main/14_word_vectors_spacy_text_classification/word_vectors_spacy_text_classification.ipynb
Exercise: https://github.com/codebasics/nlp-tutorials/blob/main/14_word_vectors_spacy_text_classification/spacy_word_embeddings_exercise.ipynb
Complete NLP Playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uuvuAXhYjV2lMEShq2UYSwX
Dataset credit: https://www.kaggle.com/datasets/clmentbisaillon/fake-and-real-news-dataset

Do you want to learn technology from me? Check https://codebasics.io/?utm_source=description&utm_medium=yt&utm_campaign=description&utm_id=description for my affordable video courses.

🔖Hashtags🔖

#nlp #nlptutorial #nlppython #spacytutorial #spacytutorialnlp #wordvectorsspacy #spacywordvectors

Need help building software or data analytics/AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.

🎥 Codebasics Hindi channel: https://www.youtube.com/channel/UCTmFBhuhMibVoSfYom1uXEg

#️⃣ Social Media #️⃣
🔗 Discord: https://discord.gg/r42Kbuk
📸 Instagram: https://www.instagram.com/codebasicshub/
🔊 Facebook: https://www.facebook.com/codebasicshub
📱 Twitter: https://twitter.com/codebasicshub
📝 Linkedin (Personal): https://www.linkedin.com/in/dhavalsays/
📝 Linkedin (Codebasics): https://www.linkedin.com/company/codebasics/
🔗 Patreon: https://www.patreon.com/codebasics?fan_landing=true

Add comment

Your email address will not be published. Required fields are marked *

Categories

All Topics