In this assignment, you will implement the Naive Bayes classification method and use it for sentiment classification of customer reviews. Write a report containing your answers, including the visualizations. Submit your report and your Python code/notebook.
Naive Bayes Learning/all_sentiment_shuffled.rtf music neg 241.txt i bought this album because i loved the title song . it 's such a great song , how bad can the rest of the album be , right ? well , the rest of the songs are just filler and are n't worth the money i paid for this . it 's either shameless bubblegum or oversentimentalized depressing tripe . kenny chesney is a popular artist and as a result he is in the cookie cutter category of the nashville music scene . he 's gotta pump out the albums so the record company can keep lining their pockets while the suckers out there keep buying this garbage to perpetuate more garbage coming out of that town . i 'll get down off my soapbox now . but country music really needs to get back to it 's roots and stop this pop nonsense . what country music really is and what it is considered to be by mainstream are two different things . music neg 544.txt i was misled and thought i was buying the entire cd and it contains one song books neg 729.txt i have introduced many of my ell , high school students to lois lowery and the depth of her characters . she is a brilliant writer and capable of inspiring fierce passion in her readers as they encounter shocking details of her utopian worlds . i was anxious to read this companion novel and had planned to share it with my class this january . although the series is written for 6th graders and older , this book 's simplicity , in its message , language and writing style will inspire no one . i am sadly disappointed books pos 278.txt anything you purchase in the left behind series is an excellent read . these books are great and very close to the bible . i have the entire set . amazon is a great shopping site and they ship fast . i would recommend these to any christian wanting to know about what to expect during the return of christ ! they are fiction but still makes a good point dvd pos 840.txt i loved these movies , and i cant wiat for the third one ! very funny , not suitable for chilren camera neg 715.txt in my experience , this camera takes great pictures , but the zoom lens is so delicate that it breaks easily . it stops extending and just makes a clicking noise . this happened to me when the camera accidentally turned on while in my pants pocket rendering the camera unusable . my brother and two of my friends experienced a similar problem with their ex-s500 after they accidentally dropped the camera while the lens was extended . i would recommend looking into another camera that is not so delicate books neg 120.txt first off i 'd like to tell you that this is only the second star wars book i 've ever read , ' jedi search ' being the first . i actually liked the first book , it drew upon the star wars lore well and was a decent read . however , this book made me groan in so many places that i felt almost compelled to create an account here to have a little rant about it ( be warned , this may contain a few spoilers ) . thusly : how much of the book was wasted with overly long descriptions ? it reminds me of a ' little britain ' sketch where a woman author is dictating her new book and starts reading the bible out to make up the space ! i do n't mind the story being 20-odd pages shorter if it comes to the point ! for some bizarre reason the author seems to have taken every opportunity to ' ground ' the story by constantly relating to the star wars films . for example , when wedge and the scientist go to that forest-resort planet and meet the alien ambassador there , he says something along the lines of : i was actually in the cantina in mos eisley when luke met han and chewbacca , little did i know the brush i had with history there... . gahhhhhhh ! ! ! why ! ? how did he know ! ? it did n't need it ! ! *bangs head on desk* he does this throughout the two books i 've read so far ! ! how about the will to stick your own neck out and come up with something new without ' proving ' that it 's true by telling the readers that it was from a certain scene in one of the films ? then there 's admiral daala . made an admiral because of her brilliant military skills and quick thinking... . so what is she doing in this ? she 's reviewing recordings of speeches given by tarkin over military tactics and following them to the letter and losing ! it 's only the end of the second book and she 's down to 1 star destroyer ! she should live up to her reputation and at least have a few successful campaigns before the inevitable happens . ( i.e. the rebellion win ) he then goes on to waste an absolutely brilliant idea , that of having a jedi academy ( the point of the trilogy ! ) . there 's so much that could have been done here - new and original training for the jedi , but no - he has the jedi go two-by-two into the forest ( holding hands ? ) to *sense* things.. . it 's meant to be a sci-fi series ! something could have been done to make this so much better ! i was incensed to find that luke was actually made ' boring ' in this book . part of my motivation for starting to read the series in the first place was to see how luke had grown . it all started very promisingly in the first book , having learnt that luke had turned to the dark side and come through it all with the love of his friends and was now more powerful than ever ! ( cool ! i thought ) . it got to the stage where i 'd dread coming back to the jedi parts of the story because he was so dull . the other trainee jedi needed serious character development ( they were 1 dimensional ! ) - entering every scene with luke surveying them noting how well they were progressing just was n't good enough . as other reviewers have said - one of his students goes rogue , somehow gains the knowledge of building a super-lightsabre ( great idea btw ! ! we need more of that ! ) then is discovered burnt to death in his quarters.. . and luke just meditates about it ! ? *grr* okay all that being said it was ' okay ' and on the strength of the first book i will be reading the next book ( it 's like a car accident - you 've just got to look ! ) . health pos 80.txt this is a very good shaver for the private area . however , the key to getting the best results is to trim the longer hairs with scissors or the largest guard first . this will keep the shaver from pulling on the longer hairs and will enable the foil part of the shaver to work . the foil will not be able to do its job if the hairs are too long . the only problem i had with the shaver was that it did not enable me to shave my back like it claimed . however , i use the ' mangroomer ' back shaver for this and it is perfect for you to shave off all your back hair easily with its elongated handle . it is a great product as well . therefore , i would have to say these two products coupled together seem to cover all the bases for men 's grooming on the body . i would highly recommend both of them for perfect manscaping results books neg 816.txt not even worth finishing this book ! this author does not know enough to even write this book ! i have personal connections with blackwater and i know not one of the employees is even close to what he makes them out to be . it is a one sided story not based on facts , which it what most writers do , but purely fiction ! the only few misfortunes blackwater has had is what he bases his book on , not the postive stories that i hear about everyday . do n't waste your money books pos 904.txt if you 're intimidated by tolstoy or dostoevsky 's long masterpieces , consider starting instead with turgenev 's " fathers and sons . " this book is of course a masterpiece of russian literature . it 's characters and themes are timeless and absolutely relatable to our modern culture . this is a story of family relationships , romance , and philosophy . highly recommended . p.s. when you 're done here , try " war and peace " or at least " crime and punishment . dvd pos 490.txt martin short is priceless in this movie - i enjoyed every minute . books neg 272.txt as a certified information systems security professional , i can definitively state that this book does not cover everything that needs to be covered or in any depth whatsoever . i got this book based on the glowing reviews i found here , and i 'm at a loss as to why these reviews would have recommended it . the most aggrevating part about this book is the subtitle " an integrated approach to security in the organization . " the book not only lacks effective security integration techniques , it does n't seem to address the entire organization where it tries its half-hearted integration . health pos 153.txt i just got my first case of this fabric softener last week and yesterday , i was walking downstairs when the smell of lavender hit me - i was surprised because i had n't sprayed any lavender freshener in the air , when i realized that my boyfriend was doing a load of laundry . like seventh generation 's lavender laundry detergent , i love this product - if you use them in tandem , not only do your clothes smell like *real* lavender ( not the chemically-based smells of mainstream products ) , but they come out clean and soft . i especially like the lavender smell for my sheets and blankets and it 's gentle enough to use on my baby 's clothes , too ! i love that it 's made with natural products and real lavender essential oil . it 's also safe