Text Classification with Python: Build and Compare Three Text Classifiers
Вставка
- Опубліковано 8 лют 2025
- Text Classification involves assigning a label to a piece of text based on its content or context. In this tutorial we learn how to classify texts by building three text classifiers: LinearSVC, ComplementNB, and MultinomialNB,
We will use Scikit-learn, and Kaggle and the datasets available there.
-----------------------
Datacamp: The best online resource to learn Python, Web Scraping, Data analysis, and Data Science (Affiliate link)
datacamp.pxf.i...
------------------------
Text Classification Dataset
www.kaggle.com...
------------------------
Check my website for Python projects:
pythonology.eu
thank you for this video, i just got a project on this topic and i was beating my head on how to do it, bbut then i came across thuis video. Its been a very huge help. thank you so much🙏
Have a thumb my man, first one of these videos ive found showing how to do it without using imported data sets.
Best channel to learn about python ❤️
Would be great if you can add some more videos related to web scraping- google reviews, ratings with multiple pages
Thanks for your comment. I will add more tutorials on web scraping
@@Pythonology thank you very much.. it would be great if you can cover up “load more” button which is there in page for scrapping
Thank you brother for great tutorial
I love you for this sir ❤❤
Hi! Thank you very much for the video!
Do you have another video to explain what to do if you need to classify something with two or mor variables? For example a message that is "ham" & "Spam" at the same time?
How to do Multi Level Hierarchical Classification
Tried this in pycharm, but am getting the following error when creating "pipeMNB" :
ValueError: np.nan is an invalid document, expected byte or unicode string.
Anyone know how to fix this?
There are probably empty values in your data column, you need to ignore these cases by applying some filters to your data frame
Even without text processing you get high results, is this normal?
Do this works on single words or very short sentences as well?
so good with long sentences
will it work for my custom dada? Like I have Classification and sub Classification also.
Sentence : I am going to school and play cricket.
Classification : school and
Sub Classification: Sports
Have you tried to make lowercase all text?