Tag: Python

  • Naive Bayes Classifier in Python

    Naive Bayes Classifier in Python

    Naive Bayes Classifier is probably the most widely used text classifier, it’s a supervised learning algorithm. It can be used to classify blog posts or news articles into different categories like sports, entertainment and so forth. It can be used to detect spam emails. But most important is that it’s widely implemented in Sentiment analysis.…

  • Flickr Wallpapers daily for Linux Mint & Ubuntu

    Flickr Wallpapers daily for Linux Mint & Ubuntu

    Linux has very few options for ‘Automatic Wallpaper Setter’. Variety is at the top. I loved it, it has lots of image sources, effects, a digital clock and daily quotes. You can also set your wallpaper-switching interval. It is really worth checking out. But what I wanted was a simple script that would download images from Flickr daily and…

  • Insertion Sort

            Insertion Sort merely means that we insert one number at a time into its correct position comparing with the numbers to the left of it. At each iteration, the key value is compared to the values at its left and swapped if necessary. Insertion_Sort (Ascending order): 1.  for j = 2…