Simple SMS Spam Filter with Python - Step by Step Tutorial

  Рет қаралды 45,598

Python Simplified

Python Simplified

Күн бұрын

Пікірлер: 83
@japanihouse4650
@japanihouse4650 3 жыл бұрын
Can you teach Artificial intelligence RNN, CNN etc...
@PythonSimplified
@PythonSimplified 3 жыл бұрын
I actually have a full series on this channel dedicated to AI & ML 😉, check out some of the videos: Perceptron (A Single Node in a Neural Network): kzbin.info/www/bejne/Y3yvn6ionb1ghsk Cross-Entropy Loss/ Log Loss: kzbin.info/www/bejne/e3u1d4NpjNKGbLM Gradient Descent: kzbin.info/www/bejne/oKi2paamba-Ihrc So far we are focusing on basic components and the math behind each concept. Soon we'll start using Pytorch and deal with more advanced neural networks 😊
@japanihouse4650
@japanihouse4650 3 жыл бұрын
@@PythonSimplified ok I will check it 😊 and thanku for that ..
@shreehari2589
@shreehari2589 4 жыл бұрын
Beauty with brains yea?!!! You have got zero dislikes so far, that shows how good tutor you are! Keep with good work 👍🏻 Note: This is a Ham comment with 100% accuracy 😁
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Best ham ever!!! 🤣 Thank you so much!! :)
@lincolnsimms2780
@lincolnsimms2780 2 жыл бұрын
Awesome. Followed it from start to finish. Learnt so, so much! Did a lot of google searching as a follow-up to your coding. You style of informing and teaching is the best I come across. Thank you so much for the time and effort you have put into this video.
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Thank you so much Lincoln! I'm super happy you liked this tutorial! 😀 (It was actually the first video I've ever filmed! 😁)
@Laflamablanca969
@Laflamablanca969 4 жыл бұрын
Your last three tutorials are really good. I’ve subscribed, keep up the great work
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Thank you so much! I'm glad you liked the videos :)
@itsmitasha
@itsmitasha 11 ай бұрын
Thank you so much! This helped me with my ML assignment, you're a legend!
@marcojansen6744
@marcojansen6744 3 жыл бұрын
This tutorial helped me a lot with my school project. I really like your explantaion, it's really clear what you are doing. Thanks a lot :)
@George-dn7jc
@George-dn7jc 2 жыл бұрын
hi I am also doing a school project like this and this is a very helpful video, any idea how i can build upon this, like create an app to filter email inboxes? @python_simlified
@pawelwalenda
@pawelwalenda 3 жыл бұрын
Great work. Thank you very much. It is inspiring. I will try to write to the email Spam filter.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
That's awesome Pawel! 😃 I also wanted to go the email way first but I couldn't find a good database for that... If you find something nice and open source please let me know, I would love to play around with email data! By the way, if you want to see how I extended this project into a GUI application with Dear PyGUI, I have a nice tutorial for that too: kzbin.info/www/bejne/aIPSlIuBhbWratE Good luck and let me know how it turned out! 😁
@007kowalski
@007kowalski Жыл бұрын
I wish you had a playlist with some more advanced projects.
@netzahtopaz833
@netzahtopaz833 4 жыл бұрын
Great Python guide for beginners!
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Thank you so much for the support Netzah! :)
@AhmedHassan-jo1il
@AhmedHassan-jo1il 4 жыл бұрын
I like the way you simplify things, keep up the good work :)
@PythonSimplified
@PythonSimplified 4 жыл бұрын
@@AhmedHassan-jo1il Thank you so much!! :)
@sattyammane5662
@sattyammane5662 3 жыл бұрын
Yo! I actually understood stuff finally!
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Yeyyyy! Glad to hear that Sattyam! 😁😁😁
@shivamkumartiwari6545
@shivamkumartiwari6545 4 жыл бұрын
Really like the way you simplify this hard program....thank you very much....I really like u alot 😘❤️
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Thank you Piyush! 😃 I'm really glad you liked this tutorial! It was the first video I've ever filmed 😊 Have you already seen part 2, where we build an interface to this program? check it out: kzbin.info/www/bejne/aIPSlIuBhbWratE
@shivamkumartiwari6545
@shivamkumartiwari6545 4 жыл бұрын
@@PythonSimplified I already have seen that part....and I like it as well....can you please make your Twitter account so that we can talk there ? I really like you...😘😘❤️
@uzi5998
@uzi5998 3 жыл бұрын
stop simping man
@andromydous
@andromydous 2 жыл бұрын
At first, I was confused and wasn't sure I was going to be able to do this one. I ended up getting the txt file from your github, so no problems there. However, on one computer (running same Linux setup), I was having problems getting Pandas set up. Went to my main PC and everything worked out just fine.
@bharkaviashokkumar3808
@bharkaviashokkumar3808 4 жыл бұрын
thank you so so much ma your tutorial really saved my life thank you so much
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Saved your life? I feel like a superhero!!! 💪 Thank you so much Bharkavi! 😃😃😃
@alihuseini
@alihuseini Жыл бұрын
@@PythonSimplified you are best super hero in this world
@yoniziv
@yoniziv 3 жыл бұрын
This tutorial is perfect!
@KanithEsara
@KanithEsara 3 жыл бұрын
did this work?? in new version
@maksimtsikhanovich279
@maksimtsikhanovich279 4 жыл бұрын
You are phenomenal
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Thank you so much!! I just sent you link to this video 5 minutes ago in your other message!!! 🤣🤣🤣 Hahaha I guess you've already seen it then 😋
@shinymp7691
@shinymp7691 4 жыл бұрын
Wow, Nice explanation 😀😀
@dtb9165
@dtb9165 3 жыл бұрын
well done, girl!
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you! 😀
@golammostafara8972
@golammostafara8972 4 жыл бұрын
Tnx a lot for this helpful Video
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Thank you so much for the feedback, I'm glad you liked it! :)
@jannioalvares
@jannioalvares 3 жыл бұрын
can this be made into an android application?
@philosophyindepth.3696
@philosophyindepth.3696 Жыл бұрын
I want you to upload full video on how to become a python developer it would b great
@PythonSimplified
@PythonSimplified Жыл бұрын
It takes much more than one video to become a professional developer. Just keep learning and keep making personal projects from scratch until you gain the confidence to apply for jobs! 😃 (BTW - just Python is probably not gonna cut it as it's only one of many tools that programmers use) There are no shortcuts to gain proper programming experience, it takes time, patience and dedications. Those who tell you otherwise - are unfortunately not being honest with you 🙂
@philosophyindepth.3696
@philosophyindepth.3696 Жыл бұрын
@@PythonSimplified i am learning python from last 7 months
@philosophyindepth.3696
@philosophyindepth.3696 Жыл бұрын
@@PythonSimplified ty for reply
@alekseychaykovskiy3963
@alekseychaykovskiy3963 3 жыл бұрын
Thank you
@thairston1
@thairston1 3 жыл бұрын
peg = {"Tie":1, "Noah":2, "Ma":3, "rye":4, "Law":5, "shoe":6, "Cow":7, "ivy":8, "Bee":9, "Toe":10} Using the "input function" how would a user call a value to get a key.
@DIYGURUJI
@DIYGURUJI 3 жыл бұрын
Please make some videos on kivy
@kendilsuparno1897
@kendilsuparno1897 2 жыл бұрын
when import pandas as pd data = pd.read_csv(data_file, sep='/t') data.head() the output is: FileNotFoundError Traceback (most recent call last) in 1 import pandas as pd ----> 2 data = pd.read_csv(data_file, sep='/t') 3 data.head() 7 frames /usr/local/lib/python3.8/dist-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) 700 if ioargs.encoding and "b" not in ioargs.mode: 701 # Encoding --> 702 handle = open( 703 handle, 704 ioargs.mode, FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/Drive_Saya/smsspam/spam.txt'
@_nicode8858
@_nicode8858 4 жыл бұрын
Good Job 😉😉
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Thank you! :)
@ahmedhashim5960
@ahmedhashim5960 3 жыл бұрын
Thank you , could you adding one of embedding techniques such as GloVe before classifier to improve the results?
@signorgatto5893
@signorgatto5893 3 жыл бұрын
Very clear explanation! Can we somehow install the google.collab module so that we can run the file as a .py? Anyway, thank you so much for the tutorial.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Hi Signor, google.collab is a cloud interface rather than a library that you can access from your computer. I usually do the conversion manually, as it's mostly a copy-paste situation, but Collab allows you to download each notebook in both an .ipynb format as well as .py: If you go to file -> download -> download .py it will do the trick, but I'm not sure how it comes out as I never really used this option before 😀 But I actually already took care of the conversion to .py in the GUI version of this project: kzbin.info/www/bejne/aIPSlIuBhbWratE If you only need the code, check out the "finished" project folder on Github: github.com/MariyaSha/SimpleSMSspamFilter_GUI
@signorgatto5893
@signorgatto5893 3 жыл бұрын
@@PythonSimplified Thank you very much, I haven't seen the video about the GUI before. I'll surely watch it, problem solved 👌
@YungassPadawan
@YungassPadawan 4 жыл бұрын
Omg I love you
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Wow, thank you! :)
@kabilansundaram5411
@kabilansundaram5411 3 жыл бұрын
Maria, will you do a video on php?
@angelfoodcake1979
@angelfoodcake1979 4 жыл бұрын
Keep up the good work! That was great. I followed along and paused for typing. I had an issue initially finding google colab. It does not come up for me under the apps even when I add and search. I have to go the google research website manually and access it from there. After I had done this I noticed that the google colaboratory is now showing up my list of apps. But otherwise all worked. I think what is the tricky bit here to understand that inside the word counting we are counting how many times the user input word appears in either of the lists (ham or spam). I don't think this is straight forward to understand at the beginning. But a few more prints explains this. Is there an easy way to debug code in colab?
@PythonSimplified
@PythonSimplified 4 жыл бұрын
Thank you so much! Glad to hear everything worked out with Google Colab, it can sometimes be tricky to find it directly from the drive 😊 This was actually the first video I've ever filmed so my apologies if I don't explain everything as well as I usually do. It takes time to get comfortable with teaching something, especially when you're recording or filming yourself. By the way, this tutorial is also available in the form of a Medium publication, you might find it a bit more informative: medium.com/analytics-vidhya/how-to-build-a-simple-sms-spam-filter-with-python-ee777240fc In terms of Google Colab debugging, I found a nice Notebook explaining some handy tips: colab.research.google.com/github/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/01.06-Errors-and-Debugging.ipynb I usually just Google the error if I'm not sure why it's raised and skip the fancy debugging techniques with Stack Overflow... but it might just be a bad habit of mine, not sure yet hahaha 😃
@haniabdulrehman7774
@haniabdulrehman7774 4 ай бұрын
The dataset link isnt working???Its a broken link...could you plz reupload it?
@GAMEZONERANDHIRSINGH
@GAMEZONERANDHIRSINGH 3 жыл бұрын
Cool
@sanketkakade3948
@sanketkakade3948 3 жыл бұрын
Have you used the Naive Bayes algorithm for comparing the dataset?
@kishoretamilanda6703
@kishoretamilanda6703 6 ай бұрын
👍🏻
@vv9730
@vv9730 Жыл бұрын
OHHHH MARIYAAAAAAAAAA........
@treedigital346
@treedigital346 4 жыл бұрын
can u make django list tutorial ???
@DIYGURUJI
@DIYGURUJI 3 жыл бұрын
never knew there is something called google collab and i think we don't need to install any library or something, it's all web-based is that correct?
@ramagameplay1703
@ramagameplay1703 3 жыл бұрын
why your dataset link cant opened?
@PythonSimplified
@PythonSimplified 3 жыл бұрын
It's not on https protocol, you'll need to give your browser a permission to access it. Or just follow the example in the video and Google it like I did. Or alternatively, you can download it from my Github. Many different options here 😁
@nikhilavijayakarnan1183
@nikhilavijayakarnan1183 4 жыл бұрын
What is the algorithm used?
@PythonSimplified
@PythonSimplified 4 жыл бұрын
It's basically counting how many times each word in the user input repeats in our list of spam_words, as opposed to how many times it repeats in the list of ham_words. In the end, we evaluate how many spam instances we had as opposed to how many ham instances we had and we present the ratio with our "accuracy" variable. Let me know if it makes sense, I always skip the flowchart/pseudocode part as my videos are way too long anyway hahaha 🤣
@chameeradinesh1221
@chameeradinesh1221 3 жыл бұрын
@sundaybighouse
@sundaybighouse 2 жыл бұрын
Possible noob comment:I had to turn off "convert uploaded files to google docs" otherwise it would rename my txt files and then I would get an unable to find file error.
@Murat_Bulut
@Murat_Bulut 2 жыл бұрын
This is nice but the video's visuals and heading made me think that you will actually create a mobile app, which in fact you didn't.
@haren_lifts
@haren_lifts 3 жыл бұрын
Mariya you're so beautiful and nerdy.
@Klusio19
@Klusio19 Жыл бұрын
Booba
@thanhluannguyen6405
@thanhluannguyen6405 Жыл бұрын
😂
@abdulazeem6588
@abdulazeem6588 2 жыл бұрын
U shake alot
@brandonsager223
@brandonsager223 8 ай бұрын
df['sms'] = df['sms'].str.lower()
@taijenseng
@taijenseng 3 жыл бұрын
Cool
Create a Python App with Dear PyGui - Graphic User Interface
22:39
Python Simplified
Рет қаралды 366 М.
How I Would Learn Python FAST (if I could start over)
12:19
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Spam Mail Detection with Machine Learning in Python
15:42
NeuralNine
Рет қаралды 18 М.
CUDA Simply Explained - GPU vs CPU Parallel Computing for Beginners
19:11
Python Simplified
Рет қаралды 282 М.
Google's 9 Hour AI Prompt Engineering Course In 20 Minutes
20:17
Tina Huang
Рет қаралды 251 М.
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 37 МЛН
How I'd Learn AI in 2025 (if I could start over)
17:55
Dave Ebbelaar
Рет қаралды 1,3 МЛН
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 44 МЛН
How to Remember Everything You Read
26:12
Justin Sung
Рет қаралды 4,2 МЛН
Learn Python OOP in under 20 Minutes
18:32
Indently
Рет қаралды 188 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
Convert py to exe - from code to software
5:55
Python Simplified
Рет қаралды 487 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН