Naive Bayes Classification with R | Example with Steps

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 188

  • @santhuycs6284
    @santhuycs6284 6 лет назад +16

    After watching most of your videos, I only can say that you're a great teacher, a good guide for the people who are struggling to understand concepts of Data science.
    Keeping sharing and blessing us.

    • @bkrai
      @bkrai  6 лет назад +2

      Thanks for your comments!

  • @cleberiack5840
    @cleberiack5840 Год назад +1

    Hello
    My name is Cleber and I'm from Brazil. Thank you very much for this excellent lesson (step by step). I couldn't find any video that explained me in detail, including making the prediction showing the probability. Stay in Peace.

    • @bkrai
      @bkrai  Год назад

      Thanks for comments!

  • @myjnat
    @myjnat 5 лет назад +2

    Your Naive Bayes video is soooo much better than what I receive during my graduate lectures.

    • @bkrai
      @bkrai  5 лет назад

      Thanks for your feedback and comments!

  • @ramyakrishnan2213
    @ramyakrishnan2213 3 года назад +2

    Your videos couldn't be better & simpler! You help us alleviate from the fear of data science & machine learning! Thanks a ton sir! And bless us!!!

    • @bkrai
      @bkrai  3 года назад +1

      Glad to hear that!

    • @fazlanfaiz8395
      @fazlanfaiz8395 2 года назад

      hi do you have the data file

  • @sudiptomitra
    @sudiptomitra 3 года назад +1

    The demonstration & explanation of the viz. part is highly appreciable.

    • @bkrai
      @bkrai  3 года назад

      Thanks for comments!

  • @OwolabiEbenezerselectedsongs
    @OwolabiEbenezerselectedsongs 6 лет назад +1

    I have this to say. You are such a great teacher. Very apt and intuitive video. I must confess your videos are one of the best.

    • @bkrai
      @bkrai  6 лет назад

      Thanks for your comments!

  • @seshasaiguna9937
    @seshasaiguna9937 6 лет назад +4

    Your videos are the best! Thank you for your efforts and passion for educating your fellow beings!

    • @bkrai
      @bkrai  6 лет назад

      Thanks for your comments!

  • @percival2333
    @percival2333 4 года назад +1

    Thank you so much, Dr Rai. For your clear and detailed explanation, that is really helpful!

    • @bkrai
      @bkrai  4 года назад

      You're most welcome!

  • @theknowledgekart
    @theknowledgekart 4 года назад +1

    I don't know who the hell unlike ur videos.... ur videos are always awesome

    • @bkrai
      @bkrai  4 года назад

      Thanks for your comments!

  • @flamboyantperson5936
    @flamboyantperson5936 6 лет назад +1

    Thank you Thank you Thank you so much Sir. I really don't have enough words to thank you. You have made this video because I had requested you. Why I didn't ever met a Professor like you who is extremely helping humble and kind towards their students. With due respect I'm thanking you for making this video.

  • @praveenparmar7728
    @praveenparmar7728 5 лет назад +2

    I have no words Really its amazing sir

    • @bkrai
      @bkrai  5 лет назад

      Thanks for comments!

  • @gayathri.nagarajan
    @gayathri.nagarajan 4 года назад +3

    Sir, at 13:20, you are using the model and training data set to predict.when we have used the train data to model the data set, what is the reason to do prediction using the same train data on the model ?

    • @bkrai
      @bkrai  4 года назад +2

      We do it for both train and test data to make sure the results are consistent. If train data results in accuracy of 90% but the test data has only 20%, then we will know that we are doing over fitting.

  • @WalkAloneLive
    @WalkAloneLive 5 лет назад +3

    I'm enjoying your video every'time!!!

    • @bkrai
      @bkrai  5 лет назад

      Thanks for comments!

  • @yakirpimentel4153
    @yakirpimentel4153 5 лет назад +1

    Liked and subscribed because my guy, Bharatendra, is the truth! Thank you!

    • @bkrai
      @bkrai  5 лет назад

      Thanks for comments!

  • @aulaalbalad4072
    @aulaalbalad4072 5 лет назад +2

    It helped me a lot. Thank you. Very powerful explanation.

    • @bkrai
      @bkrai  5 лет назад +1

      Thanks for your comments!

    • @aulaalbalad4072
      @aulaalbalad4072 5 лет назад +1

      @@bkrai Absolutely. We are trying to analyze your video now.

    • @bkrai
      @bkrai  5 лет назад

      Thanks!

  • @manzurekhoda7013
    @manzurekhoda7013 4 года назад +1

    Thank you very much for your helpful and insightful videos

    • @bkrai
      @bkrai  4 года назад

      You are very welcome!

  • @Rushizz
    @Rushizz 5 лет назад +1

    Thanks alot
    Most helpful for naive bayes
    Learned alot

    • @bkrai
      @bkrai  5 лет назад

      Thanks for comments!

  • @tiewjunkang138
    @tiewjunkang138 3 года назад +1

    you save my life bro

    • @bkrai
      @bkrai  3 года назад

      Thanks for comments!

  • @kedwards127
    @kedwards127 4 года назад +1

    Thank you for making this video it is extremely helpful!!

    • @bkrai
      @bkrai  4 года назад

      You're so welcome!

  • @theknowledgekart
    @theknowledgekart 4 года назад +2

    you have been an inspiration for me to get into R world.. pls, let me know how to start to R with the basics to make a career in it. Hoping for ur positive reply.

    • @bkrai
      @bkrai  4 года назад

      You can start with following playlist:
      ruclips.net/p/PL34t5iLfZddtII4ssT8FSUFP27fPYDEhY
      In addition, it will help to review statistical concepts:
      ruclips.net/p/PL34t5iLfZdduw0BfhRbNXxi_Y3BGk2MoB

    • @theknowledgekart
      @theknowledgekart 4 года назад +1

      @@bkrai Thanku so much sir

    • @bkrai
      @bkrai  4 года назад

      Welcome!

  • @anananan3635
    @anananan3635 2 года назад +1

    روووووعة يسلمو .... Thaaaaanx alot

    • @bkrai
      @bkrai  2 года назад

      You are welcome!

  • @MsShanmathi
    @MsShanmathi 6 лет назад +2

    Thanks for the video.. Very useful

    • @bkrai
      @bkrai  6 лет назад

      Thanks for comments!

  • @tay9001
    @tay9001 4 года назад +1

    Hello sir, question about this model. if you perform the naive_bayes function to predict a column and do not use all independent variable columns in the test data should you also exclude these columns when performing the prediction?

    • @bkrai
      @bkrai  4 года назад

      Use only those variables while developing the model that are also part of test data.

  • @imamhamdan7965
    @imamhamdan7965 3 года назад +1

    Thank you so much for the videos!
    Dr. Rai, I tried this at different dataset. But I have a problem result on modelling. there is "# ... and 8 more tables". How can I show full of result?

    • @bkrai
      @bkrai  3 года назад

      Let me know code that you are referring to.

  • @jalluravikiran4146
    @jalluravikiran4146 6 лет назад +1

    thank you.. sir, can we use naive bayes classification for sentimental youtube comments... if possible can you please upload a video on that..

  • @hafsaimtiass547
    @hafsaimtiass547 4 года назад +1

    Ive tried different data set but on the plot (Model) im getting an error of " Error in xy.coords(x, y, xlabel, ylabel, log) :
    'x' is a list, but does not have components 'x' and 'y' " what should i do?

    • @bkrai
      @bkrai  4 года назад

      Try to convert them to a data frame, because it says 'x' is a list.

  • @faceprofesor
    @faceprofesor 3 года назад +1

    This is awesome. More samples would also improve the model performance wouldn't it?
    Could you please make a video on sentiment analysis?

    • @bkrai
      @bkrai  3 года назад +1

      You are right! Also here is the sentiment analysis video: ruclips.net/video/otoXeVPhT7Q/видео.html

    • @pemmasaniyashwanth2815
      @pemmasaniyashwanth2815 3 года назад +1

      @@bkrai hello after compiler libraries it's telling there is no such packages .
      Please help me I am new to R

    • @bkrai
      @bkrai  3 года назад

      Make sure you also run library line after installing packages.

    • @pemmasaniyashwanth2815
      @pemmasaniyashwanth2815 3 года назад

      @@bkrai can I know how to install those packages

  • @vrg0075
    @vrg0075 2 года назад

    Sir,
    I would like to know whether we can consider the Submission Status as Dependent attribute for this above method. Whereas the attribute contains "Available profile", "Level 1", "Level 2", "Placed".
    Hiring process by the Recruitment team.
    Need to find which team is hiring best profile and classifying them into group as "Tier 1", ""Tier 2" and "Tier 3".
    Plz, suggest your opinion on this...

  • @mayanktripathi1310
    @mayanktripathi1310 5 лет назад +2

    Sir, I am getting an error , "variable lengths differ" can you please assist!!

    • @bkrai
      @bkrai  5 лет назад

      In case it is due to missing values, then you can use thins link: ruclips.net/video/An7nPLJ0fsg/видео.html

  • @netmarketer77
    @netmarketer77 5 лет назад +2

    Hi, Can we apply Naive Bayes on a data that has a class imbalance ? This data has a class imbalance . And this is not solved

    • @bkrai
      @bkrai  5 лет назад

      Yes, it is better to address class imbalance first.

  • @mahshidfakharzadeh2943
    @mahshidfakharzadeh2943 4 года назад +1

    Thank you so much, I really need that

    • @bkrai
      @bkrai  4 года назад

      Thanks for comments!

  • @wallinsonoliveira1501
    @wallinsonoliveira1501 5 лет назад +1

    Dr., one more question. I wish that in the classification on the test basis, I could set the threshold percentage to perform the classification. Example: There is a 70% chance of being in class 1 and 30% in class 2. I would like it to be classified as class 2 odds greater than 10%. How to set this threshold for classification. Is it in the predict function? Thanks!

    • @bkrai
      @bkrai  5 лет назад

      You can try this link: ruclips.net/video/ypO1DPEKYFo/видео.html

  • @michealajinaja7142
    @michealajinaja7142 6 лет назад +1

    Great work and detailed tutorial. It worked perfectly on different data i used. Please sir how to one predict a single data after using the model. The model was been trained and working well. How can we predict a single data into the model and see the outputs. I would love to have your email sir.

  • @kartheekprasanna2755
    @kartheekprasanna2755 5 лет назад +2

    That's perfect example. It made really easy to understand! Could you please help us sharing python code for the same example..
    Thanks in advance :)

    • @bkrai
      @bkrai  5 лет назад

      I don't have python code now, but will explore during summer.

    • @kartheekprasanna2755
      @kartheekprasanna2755 5 лет назад

      @@bkrai Thank you so much! That will be really helpful if you can share as soon as you can.. :)

  • @ShubhamKumar-xy6kj
    @ShubhamKumar-xy6kj 4 года назад +1

    Sir,is there any general comment regarding,which is better classifier
    Naive bayes or logistic regression?

    • @bkrai
      @bkrai  4 года назад

      It depends on the data. It is better to try both and choose the one that gives higher accuracy.

  • @karantherobo
    @karantherobo 4 года назад +1

    In the box plot line (the whole pipelining) , I am getting an error stating ( Could not find function "+

    • @bkrai
      @bkrai  4 года назад

      You mentioned Could not find function "+

  • @richardmerckling592
    @richardmerckling592 4 года назад +1

    This was great, thank you.

    • @bkrai
      @bkrai  4 года назад

      You're very welcome!

  • @hassanhassan-wm5rl
    @hassanhassan-wm5rl 5 лет назад +2

    I like it , thank you for sharing ….. enjoy your life

    • @bkrai
      @bkrai  5 лет назад

      Thanks for comments!

  • @tingblubblub6106
    @tingblubblub6106 5 лет назад +1

    Thanks for the video- just started learning with R so this is definitely useful for me! Qns: how did u train the data? Was it just by keying in those codes before u applies Naive bayes?

    • @bkrai
      @bkrai  5 лет назад +1

      In line 32 when we develop a model, it is done after training.

  • @mohammadmunazzirhosany2854
    @mohammadmunazzirhosany2854 2 года назад

    which version of R studio you r using ?

  • @mathisinger5654
    @mathisinger5654 6 лет назад +2

    Thank u sir useful video

  • @touradrien2530
    @touradrien2530 Год назад

    Hi when i used your model to plot the density plot my graph was completely different , any solution please

  • @anshagarwal7020
    @anshagarwal7020 4 года назад +1

    It was very helpful..sir,I have a question can we do clustering using naive Bayes..If yes, then how can we do it??

    • @bkrai
      @bkrai  4 года назад

      For clustering I would suggest these 6 videos:
      ruclips.net/p/PL34t5iLfZddvMPAl1TzHJ_GjQcD3s6w_Z

  • @theknowledgekart
    @theknowledgekart 4 года назад +1

    sir, Do u have made any video on EFA, CFA and SEM for research purpose. If yes pls let me know. Thanks in advance.

    • @bkrai
      @bkrai  4 года назад

      Not at this time, but I've added them to my list.

  • @AllenKei
    @AllenKei 6 лет назад +1

    Thank you so much for the videos! I always follow your videos and learn something new. I have a quick question about the math. You use P(A) amd P(B) for demonstration, can you also write down the math for all 4 variables? Bayesian rule for P(A), P(B), P(C), P(D) in one or multiple formula? Thank you so much. Allen

  • @harunbakirci1781
    @harunbakirci1781 4 года назад +1

    hello sir thank you for all
    i have a question why did not use boruta package for signification feature

    • @bkrai
      @bkrai  4 года назад +1

      To avoid any confusion, this video just focuses in naive Bayes.

    • @harunbakirci1781
      @harunbakirci1781 4 года назад +1

      @@bkrai 👍👍👍👍
      so do we have to

    • @bkrai
      @bkrai  4 года назад +1

      No harm in trying. If it helps to improve accuracy, then should use. If accuracy dosen't improve, then can be ignored.

    • @harunbakirci1781
      @harunbakirci1781 4 года назад +1

      @@bkrai thank you my teacher you are the best

    • @bkrai
      @bkrai  4 года назад

      You are very welcome!

  • @katecaro6779
    @katecaro6779 11 месяцев назад

    GOOD DAY, SIR! i would like to ask how to train and test the data after sentiment analysis

  • @kalyanasundaramsp8267
    @kalyanasundaramsp8267 6 лет назад +1

    thanks sir, query= cross-validation why we need to check between admit and rank, you talked about frequency and i didn't understand ?please clarify..

    • @bkrai
      @bkrai  6 лет назад

      They are factor variables. We should not have combinations of the two where frequency is zero. If it is zero or too small, we can probably combine rank-3 and rank-4 into one.

    • @kalyanasundaramsp8267
      @kalyanasundaramsp8267 6 лет назад +1

      sir, firs hats-off to you for the swift response and now i understand the concept

  • @justiceasare232
    @justiceasare232 6 лет назад +1

    Many thanks sir for this video. A few quick questions though.
    #In the case where there exists a high correlation between independent variables (ie multicollinearity), how do I treat it to make it suitable for the application of Naive Bayes in the sense of classification ?
    #What characteristics must one look up for in a data to know the suitability of applying Naive Bayes ?
    # May you please explain what this code means "data %>% ......" in plotting the box and density charts ?
    Thanks once again for this video.

    • @bkrai
      @bkrai  6 лет назад

      PCA can help with multicollinearity or you can go with ridge, lasso or elastic net regression. When developing classification model, generally you should try different methods and see which one works best with the data you have. Each data has it's own specific characteristics and it is not possible to know beforehand which method will perform better. For %>% explanation, see this link:
      ruclips.net/video/niB5A8qa88I/видео.html

    • @justiceasare232
      @justiceasare232 6 лет назад +1

      Many thanks DR RAI

  • @thejuhulikal6290
    @thejuhulikal6290 4 года назад +2

    Sir, Please make a video on Laplace smoothing in R software

    • @bkrai
      @bkrai  4 года назад +1

      Thanks, I've added it to my list.

  • @evansumido6191
    @evansumido6191 2 года назад +1

    hello sir. with the code that you use to partition the data, how does it partition? is it by random?

    • @bkrai
      @bkrai  2 года назад +1

      Yes it's random.

    • @evansumido6191
      @evansumido6191 2 года назад +1

      @@bkrai Thank you.

    • @bkrai
      @bkrai  2 года назад

      You are welcome!

  • @juansb1509
    @juansb1509 6 лет назад

    Thank you very much. I believe there is an error at 6'43''. A and B are not independent. What is independent is the features B1, B2, ...Bn.

  • @mathematickhmer2265
    @mathematickhmer2265 3 года назад +1

    Teacher, I tried to type follow you but still error. Why? 😢 can you tell me how to install package.

    • @bkrai
      @bkrai  3 года назад

      to install psych package, you can run
      install.packages('psych')
      You can follow similar process for other packages. After installing a package, you should run library line.

  • @wallinsonoliveira1501
    @wallinsonoliveira1501 5 лет назад +2

    How to take a specific test? Example: I want to know the probability of gre = 545, gpa 3.50 and rank = 3.

    • @bkrai
      @bkrai  5 лет назад +2

      On way is to use these lines: z

  • @divyadeivendran2219
    @divyadeivendran2219 4 года назад +1

    Tq for this video it was good and easily understandable than others... Naive bayes classification method is applicable for fraud detection in creditcard transaction dataset because it contains 30 k rows of data with 30+ columns sir. Please reply me sir i have this confusion from long time...

  • @sonujack1
    @sonujack1 5 лет назад

    Sir, what am I doing wrong here?
    model= naive_bayes(admit~., data= train)
    p= predict(model, train, type = 'prob')
    Error in which((sapply(newdata[ind_factor], nlevels) != sapply(tables[ind_factor], :
    (list) object cannot be coerced to type 'integer'

    • @vinuvarsidh880
      @vinuvarsidh880 5 лет назад

      i get the same error dude.. can someone help us rectify the error!!

  • @chriss7771
    @chriss7771 6 лет назад +2

    I like your vidss. Thank you.

    • @bkrai
      @bkrai  6 лет назад

      Thanks for comments!

  • @hridayborah9750
    @hridayborah9750 4 года назад +1

    where can i get the binary.csv file to practice ,let me know

    • @bkrai
      @bkrai  4 года назад

      See the link in the description area below this video.

  • @thejuhulikal6290
    @thejuhulikal6290 4 года назад +1

    Helo Sir, Can I kindly know the version of R software used in this vedio.

    • @bkrai
      @bkrai  4 года назад +1

      This video was done around Feb 2018. So whatever version was available at that time.

  • @thejuhulikal6290
    @thejuhulikal6290 4 года назад +1

    hello sir, the video is very useful, thank you so much, can I know the version of R software we use to download
    bcoz presently I have version4.0 and in that pairs.panel package is not available so kindly inform me about the version of R software that has to be downloaded

    • @bkrai
      @bkrai  4 года назад +1

      I just downloaded 4.0 and then installed 'psych' again. Initially pairs.panels didn't run as you mentioned. However, after I ran library(psych) and retyped pairs.panels command, it worked fine.

    • @thejuhulikal6290
      @thejuhulikal6290 4 года назад +1

      @@bkrai yes sir ..I too tried thank u so much sir

    • @thejuhulikal6290
      @thejuhulikal6290 4 года назад

      sir i have some doubts regarding applying this model to my data set, can I get your email id for suggestions

    • @bkrai
      @bkrai  4 года назад

      Thanks for the update!

  • @anuragsharma7413
    @anuragsharma7413 3 года назад +1

    sir, I have a question. How can we improve our accuracy, if we come to know our model is bad ? #Thank_You_For_Your_Lecture.

    • @bkrai
      @bkrai  3 года назад

      Usually we try more than one model and select one that provides better accuracy.

  • @soujanyasouj6636
    @soujanyasouj6636 4 года назад +1

    sir i m getting error in installing packages of naviebayes and psych

    • @bkrai
      @bkrai  4 года назад

      Check spelling of the package.

  • @thejuhulikal6290
    @thejuhulikal6290 3 года назад +1

    Hello sir, hope you are doing good! i am writing you because I came across a paper named Yagyanath Rimal ,with your naive bayes analysis as same as in this video. The journal name is INTERNATIONAL JOURNAL ON ORANGE TECHNOLOGIES (IJOT) with paper title Naïve Bayes Machine Learning Classification with R Programming: A case study of binary data sets, please go through if they have used your analysis with their name

    • @bkrai
      @bkrai  3 года назад

      Thanks, I'll look into it!

  • @juliocesaralvarez9580
    @juliocesaralvarez9580 4 года назад +1

    how to make the naives bayes model when the target is quantitative?

    • @bkrai
      @bkrai  4 года назад +1

      It is mainly used as a classifier with qualitative target. For quantitative target, try this:
      ruclips.net/video/_3xMSbIde2I/видео.html

  • @juandavidlozadacalderon1356
    @juandavidlozadacalderon1356 5 лет назад +2

    thanks!!! friend.

    • @bkrai
      @bkrai  5 лет назад

      thanks for comments!

  • @conniesilva5943
    @conniesilva5943 3 года назад +1

    where can we get the dataset?

    • @bkrai
      @bkrai  3 года назад

      There is a link in the description below this video.

  • @vishnumk9012
    @vishnumk9012 6 лет назад +1

    Sir can we use naive bayes classification for sentiment analysis of tweets, could you please do a video based on that??

    • @bkrai
      @bkrai  6 лет назад

      Thanks for the suggestion, I've added this to my list.

  • @chamilarupasinghe9186
    @chamilarupasinghe9186 5 лет назад

    You have a wonderful talent to teach. You are one of the best that I have seen.
    When I execute the program I get the following error in the predict,
    “> p p head(cbind(p, train))
    Error in cbind(p, train) : object 'p' not found”
    Can you provide a solution?

    • @chamilarupasinghe9186
      @chamilarupasinghe9186 5 лет назад

      Can you kindly send me the source code to crupasinghe.elite@gmail.com to troubleshoot my problem? Best, Chamila

  • @hridayborah9750
    @hridayborah9750 4 года назад +1

    great ! i just subscribed boss

    • @bkrai
      @bkrai  4 года назад

      Thanks!

  • @DanTaninecz
    @DanTaninecz 5 лет назад +1

    Why did you convert from integer to factor?

    • @bkrai
      @bkrai  5 лет назад +1

      Rank and admit are factor variables, so they need to be converted to factor.

    • @DanTaninecz
      @DanTaninecz 5 лет назад +1

      @@bkrai rank would seem to be categorical, and admit binary/dummy. I guess I'm missing something about how R defines factor variables. Does it just include these types of variables? Thanks!

    • @bkrai
      @bkrai  5 лет назад +1

      When a variable such as admit has values like 0 and 1, it thinks it is a integer variable. Similarly rank has values such as 1, 2, 3, and 4. This is also treated as integer by default. In such situations we need to make changes where necessary.

  • @shrutichauhan9019
    @shrutichauhan9019 6 лет назад

    hie sir!!! i ran this model and in the console it is not showing all the tables instead it says 2 more tables.How to view those tables as well???

    • @bkrai
      @bkrai  6 лет назад

      You can maximize the console screen to see everything.

    • @bkrai
      @bkrai  6 лет назад

      At what time point in the video are you referring to?

  • @chriss7771
    @chriss7771 6 лет назад +1

    Do you do any private tutoring?

    • @bkrai
      @bkrai  6 лет назад

      If you have any query regarding any video here, you can always post it and I'll try my best to provide feedback.

  • @tkrvlogs-z5s
    @tkrvlogs-z5s 6 лет назад

    I want to predict KIDNEY disease using naive bayes classifier in Rstudio.So I want to know will your R script works for it or not?
    If not what should I do?

    • @bkrai
      @bkrai  6 лет назад

      It depends on the data and type of variables you are using. Generally you should not try just one method, but several and then see which one does best.

  • @victorhenostroza1871
    @victorhenostroza1871 5 лет назад +1

    great !!!

    • @bkrai
      @bkrai  5 лет назад

      Thanks!

  • @krishnamishra8598
    @krishnamishra8598 5 лет назад

    Thanks in advance sir
    Could you please clear my query that in P1 & P2 I am getting same length of arguments.
    I have given test data to predict P2 but still getting same output as P1 & their by getting error at tab2 as
    " all arguments must have the same length ".
    Please rectify
    Thanks again.

    • @dhavalpatel1843
      @dhavalpatel1843 4 года назад

      You should always pass the model as the first argument in predict function. The second parameter should be a data frame of predictor variables only. You can specify type=”prob” as an extra argument to get probabilities of every factor of y. Either type=”class” directly gives you the class of predicted values. By default type argument is set up differently for every R version.

  • @balajiks6716
    @balajiks6716 6 лет назад

    Sir can you explain how to create a multiple output neural network in r using neuralnet package?

    • @bkrai
      @bkrai  6 лет назад

      You can use following link for multiple outputs. This is much faster.
      ruclips.net/video/hd81EH1g1bE/видео.html

  • @mataolundibi
    @mataolundibi 2 года назад

    When I do classification, furing the test with a test sample everything suddenly becomes "FALSE" anyone have any idea?

  • @tohabin5064
    @tohabin5064 6 лет назад +1

    Thank u

  • @Dr.munna89
    @Dr.munna89 3 года назад +1

    sir can you please explain the cross tabulation between admit and rank. what we want to observe cross tabulation?

    • @bkrai
      @bkrai  3 года назад

      Number in each cell should be 5 or more.

  • @pothulasaiprasadreddy3961
    @pothulasaiprasadreddy3961 5 лет назад +1

    sir i will provide dengue disease data set u predict the accuracy by naive bayes algorithm please

    • @bkrai
      @bkrai  4 года назад

      I saw this today. You can send data at seemabharat@gmail.com

  • @janiceleong9511
    @janiceleong9511 5 лет назад

    Hi Sir, this video is a great! But I can't seem to be able to plot(model), the histogram doesn't seem to show up

    • @bkrai
      @bkrai  5 лет назад

      make sure there is enough space for a plot to show up in the 4th window.

  • @allenjamesvinoy
    @allenjamesvinoy 5 лет назад +1

    Amazing explanation. I still have one doubt. Shouldn't we pass test data as the required data in predict function?

    • @bkrai
      @bkrai  5 лет назад

      That's what is done in line 52.

  • @ariagnesilveiratriana3806
    @ariagnesilveiratriana3806 2 года назад +1

    Hola ,podría compartir la data?

    • @bkrai
      @bkrai  2 года назад

      See link in description area.

  • @brunomaccosta
    @brunomaccosta 6 лет назад

    you should inform that those libraries had a lot of dependencies.

  • @jashjasani5045
    @jashjasani5045 4 года назад +1

    Error in data[partition_data == 1, ] :
    object of type 'closure' is not subsettable
    getting this error
    here is the link to the code: - github.com/JordanTheDodger/NaiveBayes-in-R-Test-
    I looked on StackOverflow, it said I am trying to use some inbuilt function. Thanks in Advance. Looking forward to your reply

    • @bkrai
      @bkrai  4 года назад

      Link to the code doesn't work!

  • @mathisinger5654
    @mathisinger5654 6 лет назад

    And then I want dataset for any one Tamil channel like star Vijay, suntv ,zee Tamil this is my humble request sir

    • @bkrai
      @bkrai  6 лет назад

      Unfortunately I do not have data about Tamil channels.

    • @mathisinger5654
      @mathisinger5654 6 лет назад

      Bharatendra Rai k sir any sports channel

  • @rawanalsubhi7316
    @rawanalsubhi7316 5 лет назад +1

    How can I install nativebayes library.

    • @aswaniap8293
      @aswaniap8293 5 лет назад +1

      First you want to enter the code given below:
      install.packages("naivebayes")
      library(naivebayes)