Build naive spam classifier using naive Bayes

In our daily life, we get lots of emails. Some emails are useful and some are not. An unsolicited email sent in the bulk is a spam email. We do not generally want spam emails, so spam classifiers throw them in spam folders before they appear in our inbox section.

According to Statista, around 29% of the emails sent in 2019 are spam emails. It has been studied that spam emails impede economic growth and causes loss of billion dollars of GDP. Rao and Railey claim economic loss at over $1 trillion if firms were not investing in anti-spam technology.


A how-to-guide for generating PDF file from a bunch of images using Python.

I had received transcripts of my Bachelors around a month ago. I always visualized transcripts as one document consisting marksheets of all the semesters, but, when I received my transcript, I had four sheets. That was annoying for me, as now I had to do multiple scans to upload my transcript somewhere. To make such an upload easier, I can scan all my sheets one time and create a PDF file from images of those sheets. That will make my life easy with transcript uploads, won’t that?

Photo by Sharon McCutcheon on Unsplash

So, for creating a PDF file from a bunch of images, I know…


Learn the basics of tf.keras for image classification

TensorFlow is one of the most popular open-source machine learning frameworks which has played a vital role in the rise of machine learning especially in industry, thanks to its rich ecosystem varying from TensorFlow Lite, which is used for deploying models in mobile phones, to TensorFlow Serving, which is used for serving TensorFlow models in production. It is developed and supported by Google. tf.keras is a high-level framework built on top of TensorFlow and it is designed in such a way that we can develop and train the machine learning models using just a few lines of code.

In this…

Binita Gyawali

Interested in technology, science and mathematics.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store