Email Spam Classifier | SMS Spam Classifier | End to End Project | Heroku Deployment

  Рет қаралды 311,198

CampusX

CampusX

Күн бұрын

Пікірлер: 525
@kausikkar2587
@kausikkar2587 7 ай бұрын
I find your's and Krish Naik's channels to be the ones which actually help us build industry grade ML projects. Rest are just doing model.fit without any given explanation.
@aaquibtayyabi
@aaquibtayyabi 6 ай бұрын
also its insane how similar they both look lol
@aakashgupta50
@aakashgupta50 3 жыл бұрын
One Day this channel is going to have 1M Subscribers ❤🔥
@tusharbedse9523
@tusharbedse9523 2 жыл бұрын
within 1 year i guess
@dheerajrajput7058
@dheerajrajput7058 Жыл бұрын
1B
@codingworld6151
@codingworld6151 Жыл бұрын
We need recommended system from scratch
@Nothing-iu1uy
@Nothing-iu1uy 7 ай бұрын
Ofc can't wait for it
@muhammadtayyabtahirqureshi7186
@muhammadtayyabtahirqureshi7186 Жыл бұрын
bundle of thanks for this amazing video... apparently it's one video but it covers all the steps involved in machine learning development, data cleaning, EDA, pre-processing, model training, optimizing and good practices everything has been packed in just one video. ❤
@radhekrashna2148
@radhekrashna2148 Жыл бұрын
Well explained many in a single 90 minutes videos It's one of the best channel to learn data science free of cost with very good content
@JaySharma-ob8nw
@JaySharma-ob8nw 2 жыл бұрын
Amazing Content!! I dont understand why this channel has small reach this content is better than any paid courses
@junaidyousaf4602
@junaidyousaf4602 2 жыл бұрын
Are you nlp expert
@handhikayp
@handhikayp 3 жыл бұрын
Cool, this is the completed tutorial I had seen, from beginning until deployment Keep up the great work sir!
@mcchickencrispy
@mcchickencrispy 2 жыл бұрын
Thank for the walkthrough! Just a small remark, while defining the word-cloud object you can set the collocations parameter to false and avoid duplicates in the final plot.
@campusx-official
@campusx-official 2 жыл бұрын
Thanks, will use it the next time
@aniruddhadeshmukh3571
@aniruddhadeshmukh3571 Жыл бұрын
​@@campusx-official but how to extract data from mail to jupyter
@DashingData66666
@DashingData66666 9 ай бұрын
sir in which language u r making this project @@campusx-official
@abhinabachakraborty5202
@abhinabachakraborty5202 8 ай бұрын
@@aniruddhadeshmukh3571 download the file in your system and use read_csv or read_excel and feed it to your dataframe
@TanishkaSharma-e8z
@TanishkaSharma-e8z Ай бұрын
I am facing an error in reading csv file can you help? UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 606-607: invalid continuation byte
@adwaithpradeep5677
@adwaithpradeep5677 9 ай бұрын
12:28 Build an email spam classifier website with data cleaning, EDA, feature engineering, model building, evaluation, and deployment. 24:56 EDA is performed to understand the distribution of spam and ham messages and analyze the number of characters, words, and sentences used in the SMS. 37:24 Data preprocessing steps for text data 49:52 The main problem was the error caused by a silly mistake in the code. 1:02:20 Performing Exploratory Data Analysis (EDA) on spam and ham messages 1:14:48 Naive Bayes with TF-IDF vectorization and max features of 3000 performs best 1:27:16 The best performing model for spam classification is Multinomial Naive Bayes with a precision of 99.1% and accuracy of 98.1%. 1:39:39 Built and deployed an email spam classifier using NLTK and Streamlit Crafted by Merlin AI.
@TanishkaSharma-e8z
@TanishkaSharma-e8z Ай бұрын
I am facing an error in reading csv file can you help? UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 606-607: invalid continuation byte
@TechnicalDrMusic
@TechnicalDrMusic 7 ай бұрын
100% easy to understand, really enjoyed 😅 a little bit is that in the middle the videos you cut for analysis but it was totally fine. Loved it, now i got my project to make it.
@jooyeonsimp
@jooyeonsimp Ай бұрын
Hii can you help df.corr() aint working for me, it says value error could not convert string to float
@sachinjain458
@sachinjain458 Ай бұрын
I am so glad that i found this channel. i recommend this to many of my friends. Amazing content
@rashidsiddiqui4502
@rashidsiddiqui4502 Жыл бұрын
Thank u very much NItish sir.😊 Very helpful playlist, thank u helping us learn ML AND DL , NLP with such interest and enthusism.
@ahsannaseer2775
@ahsannaseer2775 2 жыл бұрын
Awesome method of teaching. Learned a lot from you. Very insightful content. Keep up this good work.
@hussainktk8411
@hussainktk8411 Жыл бұрын
Thumbs up for you sir. All other videos are till the model training. You have showed the full working. Thanks !
@robinabraham1801
@robinabraham1801 2 жыл бұрын
You are best person I have ever come across. With great feature engineering got to learn many things for model deployment too.
@LockLad
@LockLad Жыл бұрын
I haven't even started to watch your videos but i can feel it in my heart that I landed on the right place
@chiradipbiswas7339
@chiradipbiswas7339 Жыл бұрын
Awesome teaching !!,not using just libraries for text conversion, helping to understand process under the hood, and building the functions and conditions straight from the ground logic. Very nice video
@2076TanmoyAnik
@2076TanmoyAnik 11 күн бұрын
what a tutorial... claen & refreshing... i appreciate your work ... respect💜
@shu03bh
@shu03bh Ай бұрын
At 53:30 it's showing the same bar graphs for both ham and spam corpus
@TechnicalDrMusic
@TechnicalDrMusic 6 ай бұрын
woow!, finally i made one project sir, thank you so so much really paid off for me.
@Sreyanskumar-v2m
@Sreyanskumar-v2m 2 ай бұрын
Its showing the error of ‘list’ object has no attribute ‘transform’ while predicting the spam or not . Can anyone help?
@antukhan5592
@antukhan5592 Жыл бұрын
All those who are getting this error: NotFittedError: This MultinomialNB instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator. You need to put the line written below after voting.fit(X_train,y_train)... mnb.fit(X_train,y_train) Then re-run to get model.pkl and vectorizer.pkl Or u can run also gnb,mnb,bnb thankyou
@rjabhi_31
@rjabhi_31 Жыл бұрын
I am getting another error Can you please advice me how to solve it. NotFittedError: The TF-IDF vectorizer is not fitted
@swaragupta7932
@swaragupta7932 Жыл бұрын
Thank you. I spend 2-3 hrs to solve this error but your code magically helped me run my model.
@antukhan5592
@antukhan5592 Жыл бұрын
@@swaragupta7932 cheers bro
@atharvatirkhunde4517
@atharvatirkhunde4517 Жыл бұрын
thanks bro for solving the error
@antukhan5592
@antukhan5592 Жыл бұрын
@@atharvatirkhunde4517 ty
@atul7965
@atul7965 10 ай бұрын
Thanks Sir for such an Amazing tutorials on Machine Learning Projects .The concepts you taught was so much crystal clear .
@SurajYadav-xj1yf
@SurajYadav-xj1yf 2 жыл бұрын
Thank you for uploading this thorough end to end project... this really helped me..
@SpaceShip933
@SpaceShip933 2 ай бұрын
Instead of heroku we can use render but what should be procfile , setup sh , . git ignore and requirements.txt
@neeraj.kumar.1
@neeraj.kumar.1 2 жыл бұрын
Finally completed this project with a lot of learning...... thank you boss 🙌
@rinalzankar2812
@rinalzankar2812 Жыл бұрын
I could not load dataset . can you help?
@neeraj.kumar.1
@neeraj.kumar.1 Жыл бұрын
@@rinalzankar2812 hey Rinal, Did you try to download the dataset from kaggle?
@akuljoshi7943
@akuljoshi7943 Жыл бұрын
@@neeraj.kumar.1 did you deploy your website on Heroku????
@neeraj.kumar.1
@neeraj.kumar.1 Жыл бұрын
@@akuljoshi7943 Yeah
@abhishekshukla5747
@abhishekshukla5747 Жыл бұрын
@@neeraj.kumar.1 can u plz send link of your website
@manujkumarjoshi9342
@manujkumarjoshi9342 Жыл бұрын
The best part is you also cover app development and deployment.
@abinashnath2481
@abinashnath2481 2 жыл бұрын
Thank you for the awesome content.your method of teaching is really incredible
@jooyeonsimp
@jooyeonsimp Ай бұрын
Please suggest few basics to work with before doing this project . A roadmap or something to know
@meenalsinghthakur8705
@meenalsinghthakur8705 2 ай бұрын
NotFittedError: This MultinomialNB instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator. i am getting this error. How to resolve it?
@mallikagupta7643
@mallikagupta7643 2 ай бұрын
@@meenalthakur1440 hey i am getting the same error but for tfid ! please help !
@manujkumarjoshi9342
@manujkumarjoshi9342 Жыл бұрын
Awesome method of teaching. Learned a lot from you. Very insightful content.
@remoanil8532
@remoanil8532 9 ай бұрын
Thanks for the video, as per my understanding , using scaler before train_test_split will introduce data leakage , it is good to use scaling after train_test_split
@gaurimk24
@gaurimk24 3 күн бұрын
हॅलो, hi and नमस्ते भैया, आपने ये प्रोजेक्ट बोहत अच्छे से explain Kiya, आप पढाते हो क्या, धीरे धीरे से, आप इसमे use होने वाले stremlit and jo pycharm se localhost पे जो front end बनाया, as a movie recommendation system, आपने kuch degree किया है क्या, master's, आपके कोई, computer shortcuts ya browsers, python editor's shortcuts, suggest कर सकते हो क्या, and आपने कोडींग काहा से पढी, ml system design करणे के लिये? बताओ please, reply में. Thank you for this ml system project video, and one more can I add more features in this rec.sys., where can I get those streamlit frontend features...?
@easyscience2893
@easyscience2893 5 ай бұрын
hi i have a question .why heroku is an option for deployment? kindly disuss the more option for deployment and also tell hot to deliver the project ?in which form we will deliver..in the end great content sir much appreciated
@AbhinavKumar-k7h
@AbhinavKumar-k7h 2 ай бұрын
Craziest EDA ever seen❤❤
@krishnakanthmacherla4431
@krishnakanthmacherla4431 2 жыл бұрын
hi Nitish, why are we fitting the data to countvectorizer even before splitting the data , doesnt this lead to data leakage problem there by effecting our metric ? please answer this
@sampannamishra1178
@sampannamishra1178 Жыл бұрын
Amazing Lecture. Learned a lot from your project explanation!
@user-tp6vs9ek5d
@user-tp6vs9ek5d 14 күн бұрын
Sir I'm facing error during heatmap time for data type string is not support in target column but when I'm using it with include int 64 it is working in that time target column is missing because string is not include
@SandeepSharma-yi1jt
@SandeepSharma-yi1jt 4 ай бұрын
When we are going to find the correlation it show could not convert string to float how can I overcome that
@MeeraDevi-mm4cr
@MeeraDevi-mm4cr 3 жыл бұрын
Hi please create more videos like this but also keep in mind a more industry relevant projects. Please🙏
@chaithrashreecs35
@chaithrashreecs35 2 ай бұрын
Machine learning is a vast topic what is the actual technology of machine learning is used for classifying
@ashwinidikonda2146
@ashwinidikonda2146 2 жыл бұрын
Great job sir👏👌👌👌 amazing explanation
@poojithareddy8777
@poojithareddy8777 10 ай бұрын
Is he running every cell to go to next cell
@poojithareddy8777
@poojithareddy8777 10 ай бұрын
How he is going to next cell
@Riya-zb1iz
@Riya-zb1iz Жыл бұрын
Hi Sir, Firstly, Thanks for this amazing content! Secondly, I had a question that why did we use LabelEncoder here, shouldn't we use One Hot Encoder here?
@ok0855
@ok0855 Жыл бұрын
as the name suggest this is for labeling the data( here spam and ham are two labels not sentences ). but one hot encoding is used to convert the entire sentence
@muhammadtayyabtahirqureshi7186
@muhammadtayyabtahirqureshi7186 Жыл бұрын
Label encoder is used to encode output labels. while one hot encoding is to encode the input features. That's the reason
@letstry2854
@letstry2854 Жыл бұрын
Wow !! You're doing amazing job sir!! It helps us a lot. Keep uploading such end to end videos in days to come too!!
@pankajbeldar9799
@pankajbeldar9799 Жыл бұрын
U deserve 100 billion subscribers
@ashishmalhotra2230
@ashishmalhotra2230 8 ай бұрын
It's difficult to match your depth of knowledge and teaching style. So happy to have found this channel. Keep up the great work!
@humerashaikh3618
@humerashaikh3618 3 жыл бұрын
Thank you so much. Very good content sir. I ll definitely try this project.
@gokulakannanb4103
@gokulakannanb4103 3 жыл бұрын
It worked?
@vijaykiran3404
@vijaykiran3404 2 жыл бұрын
@@gokulakannanb4103 Not for me, model is creating of size 1kb only. And thus it's giving error. something is missing from original code as well.
@kamathprajna
@kamathprajna 2 жыл бұрын
@@vijaykiran3404 omg
@BhuvanaMalla
@BhuvanaMalla 5 ай бұрын
why didn't you show us that you dropped the column 'text' inorder to make work the corr() in EDA stage it wasted me around 30mins of my time in figuring it out
@ahmadaliahmadali8670
@ahmadaliahmadali8670 2 жыл бұрын
gooood nice sir your teaching method is so best for biggners
@wellbell23
@wellbell23 Жыл бұрын
following the same process but after prediction it is only showing "not spam"
@SachinModi9
@SachinModi9 2 жыл бұрын
I'm loving it!! Dekh ke hi motivation mil gaya :)
@harisumanth
@harisumanth 3 жыл бұрын
Hi, I followed that video and used tfidf with base (not max_features =3000), While prediciting for all sorts of inputs i am getting "Not Spam"..what might be the reason?
@akshaybhat3556
@akshaybhat3556 2 жыл бұрын
@@gokulakannanb4103 Have you deal with the data imbalance?
@srujanagundam2520
@srujanagundam2520 2 жыл бұрын
were you able to solve it? because even i am getting the same issue
@sharduldhage9012
@sharduldhage9012 Жыл бұрын
I am not able to read csv file it is showing unicodedecodeerror 'utf-8'.
@GhostRider....
@GhostRider.... Жыл бұрын
pd.read_csv('spam.csv',encoding="ISO-8859-1") use this
@arshmeharkaur5
@arshmeharkaur5 3 ай бұрын
@@GhostRider.... thankyouu
@trueindian9502
@trueindian9502 9 күн бұрын
Can I put this project on the resume will it be the efficient project for resume
@sonamatulya
@sonamatulya 4 ай бұрын
Fabulous work Guru ji🙏
@anjanatoppo9728
@anjanatoppo9728 Жыл бұрын
Surprisingly this really worked out 💯
@susmitapragya7356
@susmitapragya7356 Жыл бұрын
Important:- Why the working demo is not opening? what happened to it? can you please solve so that the working demo would work...
@sohamjiddewar4059
@sohamjiddewar4059 2 ай бұрын
Hi, CampusX after running import seaborn as sns it is running fine but when running histplot it is plotting graph but showing Future Warning use_inf_as_na option please tell how to remove it as when running heatmap it is giving error "could not convert string to float: 'Go until jurong point, crazy.. Available only in bugis n great world la e buffet... Cine there got amore wat...' "
@SpaceShip933
@SpaceShip933 2 ай бұрын
Same problem
@KnockEdu
@KnockEdu 2 жыл бұрын
Brother.., i cannot count the no of characters in each msg.. Because the error comes and it shows "object lf type int has no len()".. Do h have any solution to this??
@shahnawazalam2495
@shahnawazalam2495 Жыл бұрын
"NotFittedError: This MultinomialNB instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator." this is the error i got when i enter predict button .can anyone resolved it ??
@KartikMongia
@KartikMongia 5 ай бұрын
did you get any ans
@ParthKakarwar-b7j
@ParthKakarwar-b7j 3 ай бұрын
I got the same error,Did you resolved it,please help....🤒
@divyamishra4040
@divyamishra4040 10 ай бұрын
Thank you so much sir, finally i completed it...
@abdulqadar9580
@abdulqadar9580 2 жыл бұрын
Thank you Sir for your great efforts
@nishitkashyap8748
@nishitkashyap8748 7 ай бұрын
While vectorizing the text defining X it gives an error saying list object has no attribute 'lower'.
@iamroy91011
@iamroy91011 2 жыл бұрын
I am getting this error while running in the web, I have followed all the previous steps. The error: NotFittedError: This MultinomialNB instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator.
@Geethika-n8r
@Geethika-n8r Жыл бұрын
did you get solution for that?
@iamroy91011
@iamroy91011 Жыл бұрын
@@Geethika-n8r I most probably did, since it has been more than a year. I am unable to recall what I did exactly to solve the issue. But I would suggest you to import the libraries again and to check for the version. Hope it helps
@raj4624
@raj4624 3 жыл бұрын
Top notch ..🔥🔥Quality of Project.. Tysm Professor
@anuradhabalasubramanian9845
@anuradhabalasubramanian9845 Жыл бұрын
As usual , your explanation is magical.Keep up your great work Sir !Thank you so much
@himanshuyadav126
@himanshuyadav126 2 ай бұрын
Sir, After running the ipynb file from your github, The model gets changed and it does not run. After entering the predict button It shows "NotFittedError: This MultinomialNB instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator." Help me fix this. while cloning your code from github and running the streamlit, It shows "NotFittedError: This TfidfTransformer instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator."
@mallikagupta7643
@mallikagupta7643 2 ай бұрын
hey did it get resolved?
@hasnainjagirani2609
@hasnainjagirani2609 Жыл бұрын
You Are The Best On KZbin ❤️❤️❤️
@byotikram4495
@byotikram4495 Жыл бұрын
Hi, Sir..... The precision score that we used to calculate are: TP / (TP + FP). But if we calculate from confusion matrix the precision score that we gat is different from directly applying presicion_score function. Why it is so sir ??? For all the three NB cases(gnb, mnb and bnb)
@jooyeonsimp
@jooyeonsimp Ай бұрын
Hii can you help, df.corr() aint working for me, it says value error could not convert string to float
@vanarraja1940
@vanarraja1940 2 жыл бұрын
loved the way you orate :)
@dafnecg5853
@dafnecg5853 3 ай бұрын
instead of entering the emails manually, if I connect to my email and have it read my own emails to compare with the dataset, how can I do this? I urgently need help.
@harshitdhiman6748
@harshitdhiman6748 2 жыл бұрын
thank you so much , it really helped a lot.
@tech_lec
@tech_lec 2 жыл бұрын
Thank You Sir, It was a great video, help me a lot. Very very Thanks ❤❤
@patnalapravallika6770
@patnalapravallika6770 Жыл бұрын
I didn't get heat map getting error:could not convert string to float: 'Go until jurong point, crazy.. Available only in bugis n great world la e buffet... Cine there got amore wat...'
@Kalyan1143
@Kalyan1143 6 ай бұрын
Same to u I am facing that error. Cloud you resolve this error in that code Please share me resolve of code Please reply as soon as possible😢😢
@StudentLinker
@StudentLinker 2 ай бұрын
Because sir is applying with num_char,num_word,num_sent and we are using with all 4 columns ​@@Kalyan1143
@utkarshchalsey241
@utkarshchalsey241 2 жыл бұрын
I did the same as you did and I have double checked also but still I am getting this error: "y should be a 1d array, got an array of shape (1034, 6708) instead."
@pranjaldangwal1425
@pranjaldangwal1425 2 ай бұрын
I've already defined df, as defined in this video but it is giving me Name Error : df is not defined sometimes it is running but mostly it is giving me the error.
@neelesh621
@neelesh621 Жыл бұрын
One doubt: During voting classifier and stack classfier , the Xtrain, ytrain,Xtest, ytest which you are using, are they the X train or modified prameters like max_feature=3000 or normal without anything modification
@hridhanpatel3987
@hridhanpatel3987 Ай бұрын
sir at 35:18 why did you copied y to text and not simply used y itself ?
@mounikakotapati6838
@mounikakotapati6838 2 жыл бұрын
Thanks a lottt... Explained very clearly.
@mohaiminrahat4974
@mohaiminrahat4974 3 жыл бұрын
Thank you sir it was really helpful
@FREAKIN.07
@FREAKIN.07 Ай бұрын
sir deploy ke time nltk.txt normal txt jaisa behave kr rha hai requirement txt jaisa nahi anyone please give me answer
@sunnyshingala8791
@sunnyshingala8791 2 жыл бұрын
Awesome video. How to create API for this sms spam classifier? Can anyone help?
@aliyagilani3468
@aliyagilani3468 Ай бұрын
appreciated (y) very well done
@nigiledwin4784
@nigiledwin4784 2 жыл бұрын
Awesome teaching👏👏
@codingworld6151
@codingworld6151 Жыл бұрын
There are 10 thousands search on recomder system tutorial in python, so searched it as well but unfortunately I didn't get any playlist so, I request you sir please create a playlist on recommend system in your channel from scratch , all the libraries, maths tips, projects. Great chance for you future channel boosting
@WaqasAhmad-0
@WaqasAhmad-0 2 жыл бұрын
hi, thanks for the detailed video but I don't know why I am getting an application error whenever I try to open the Heroku link, even your working demo link is giving the same error.
@Optimus_Gaming07
@Optimus_Gaming07 2 жыл бұрын
Same issue...
@zeinabshahraki5529
@zeinabshahraki5529 2 жыл бұрын
Hi, I have the same issue while it seems it has deployed successfully. Could you solve the issue?
@badalrathod2435
@badalrathod2435 2 жыл бұрын
great! teaching helps to understand
@AdityaSharma-vs5dl
@AdityaSharma-vs5dl Жыл бұрын
Sir you are the best please keep it up and can you make video about internships for ml
@siyasuryawanshi495
@siyasuryawanshi495 Жыл бұрын
This works so well ! Thankyouuuuu
@mallikarjunbasavarajsalagu3149
@mallikarjunbasavarajsalagu3149 7 ай бұрын
sir can you do it like , it has to take massage automatically than it automatically classify massage as spam or not
@shankargavankar4822
@shankargavankar4822 4 ай бұрын
So this is unsupervised learning model?
@muhammadwaqasakram3018
@muhammadwaqasakram3018 Жыл бұрын
Great 👍.. amazing video
@shubhamsharma-01-india
@shubhamsharma-01-india 7 ай бұрын
please bring a crash course on machine learning sir it really needed
@mixupthings
@mixupthings 2 жыл бұрын
You are best SIr !! respect ++
@muskansheikh3777
@muskansheikh3777 2 жыл бұрын
Sir it's really amazing and very fruitful.. 🔥 But sir i stucked with Notfittederror:This MultinomialNB instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator... Sir plz plz help to solve it
@shantanuumrani9163
@shantanuumrani9163 2 жыл бұрын
Were u able to solve the error?
@jainarayansingh4936
@jainarayansingh4936 2 жыл бұрын
Same have you find it?
@uditpandey2573
@uditpandey2573 2 жыл бұрын
@@jainarayansingh4936 You have to run the fit method again, where you're training the model on X_train & y_train
@tausifahmad2007
@tausifahmad2007 2 жыл бұрын
@@uditpandey2573 Bro can you help me, i did the same but its not working and give same error.
@yashchauhan3258
@yashchauhan3258 Ай бұрын
Bro all these mf sites are paid now! I'm cooked now , can't submit my project before the deadline 🤡👍🏻
@harshvardhanpal4720
@harshvardhanpal4720 5 ай бұрын
thankyou, but i cant relogin in the heroku account again, it says we cant open your account right now and it is showing everytime i tried to login. i even chanced password but still no improvement.
@aiwithvanshikaa
@aiwithvanshikaa Жыл бұрын
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 606-607: invalid continuation byte Sir, I am getting the above error while reading csv file. Please help on this sir. I downloaded the dataset from the kaggle link given by you. but I am getting this error. Kindly provide the solution.
@nikushekhawat5712
@nikushekhawat5712 Жыл бұрын
change column name 'v1' and 'v2' in csv file....
@kartikshrivastava582
@kartikshrivastava582 Жыл бұрын
df = pd.read_csv('spam.csv', encoding = "ISO-8859-1")
@raazrobotics
@raazrobotics 11 ай бұрын
pd.read_csv("spam.csv", encoding =('ISO-8859-1'), low_memory =False)
@anjalireddyinturi888
@anjalireddyinturi888 Жыл бұрын
This MultinomialNB instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator. can anyone help me out with this error?
@gargifadtare21
@gargifadtare21 8 ай бұрын
Did u find the error ?
@ParthKakarwar-b7j
@ParthKakarwar-b7j 3 ай бұрын
I got the same error,Did you resolved it,please help....
@lakshyamishra5594
@lakshyamishra5594 5 ай бұрын
I am getting a lot of errors in this code while running it
@aryannijhawan8448
@aryannijhawan8448 2 жыл бұрын
18:25 can I use "df['num_words']=df['text'].apply(lambda x: len(x.split()))" instead , I mean what is the difference between split() and word_tokeniser?
@yashgourav
@yashgourav 2 жыл бұрын
split() has bdefault delimiter as space. May be there are some words seperated usiing a ","(comma) or some other characters. In those scenariors, word_tokenizer can be used.. for further details, you can check the underlying working of nltk in its source code
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 53 МЛН
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 51 МЛН
Spam Mail Detection with Machine Learning in Python
15:42
NeuralNine
Рет қаралды 11 М.
The Sad Life of RICH People | Trapped in Rat Race | Dhruv Rathee
21:27
NADIR ALI PODCAST FEATURING DR ZAKIR NAIK !!
1:41:28
Nadir Ali
Рет қаралды 3,3 МЛН
GEOMETRIC DEEP LEARNING BLUEPRINT
3:33:23
Machine Learning Street Talk
Рет қаралды 181 М.
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 53 МЛН