Text Classification with Python and Scikit-Learn

Introduction Text classification is one of the most important tasks in Natural Language Processing. It is the process of classifying text strings or documents into different categories, depending upon the contents of the strings. Text classification has a variety of applications, such as detecting user sentiment from a tweet, classifying an email as spam or ham, classifying blog posts into different categories, automatic tagging of customer queries, and so on. In this article, we will see a real-world example of […]

Read more

Implementing Word2Vec with Gensim Library in Python

Introduction Humans have a natural ability to understand what other people are saying and what to say in response. This ability is developed by consistently interacting with other people and the society over many years. The language plays a very important role in how humans interact. Languages that humans use for interaction are called natural languages. The rules of various natural languages are different. However, there is one thing in common in natural languages: flexibility and evolution. Natural languages are […]

Read more

Creating a Simple Recommender System in Python using Pandas

Introduction Have you ever wondered how Netflix suggests movies to you based on the movies you have already watched? Or how does an e-commerce websites display options such as “Frequently Bought Together”? They may look relatively simple options but behind the scenes, a complex statistical algorithm executes in order to predict these recommendations. Such systems are called Recommender Systems, Recommendation Systems, or Recommendation Engines. A Recommender System is one of the most famous applications of data science and machine learning. […]

Read more

Creating a Neural Network from Scratch in Python

This is the first article in the series of articles on “Creating a Neural Network From Scratch in Python”. Introduction Have you ever wondered how chatbots like Siri, Alexa, and Cortona are able to respond to user queries? Or how the autonomous cars are able to drive themselves without any human help? All of these fancy products have one thing in common: Artificial Intelligence (AI). It is the AI which enables them to perform such tasks without being supervised or […]

Read more

Creating a Neural Network from Scratch in Python: Adding Hidden Layers

This is the second article in the series of articles on “Creating a Neural Network From Scratch in Python”. If you are absolutely beginner to neural networks, you should read Part 1 of this series first (linked above). Once you are comfortable with the concepts explained in that article, you can come back and continue with this article. Introduction In the previous article, we started our discussion about artificial neural networks; we saw how to create a simple neural network […]

Read more

Creating a Neural Network from Scratch in Python: Multi-class Classification

This is the third article in the series of articles on “Creating a Neural Network From Scratch in Python”. If you have no prior experience with neural networks, I would suggest you first read Part 1 and Part 2 of the series (linked above). Once you feel comfortable with the concepts explained in those articles, you can come back and continue this article. Introduction In the previous article, we saw how we can create a neural network from scratch, which […]

Read more

Applying Filter Methods in Python for Feature Selection

Introduction Machine learning and deep learning algorithms learn from data, which consists of different types of features. The training time and performance of a machine learning algorithm depends heavily on the features in the dataset. Ideally, we should only retain those features in the dataset that actually help our machine learning model learn something. Unnecessary and redundant features not only slow down the training time of an algorithm, but they also affect the performance of the algorithm. The process of […]

Read more

Applying Wrapper Methods in Python for Feature Selection

Introduction In the previous article, we studied how we can use filter methods for feature selection for machine learning algorithms. Filter methods are handy when you want to select a generic set of features for all the machine learning models. However, in some scenarios, you may want to use a specific machine learning algorithm to train your model. In such cases, features selected through filter methods may not be the most optimal set of features for that specific algorithm. There […]

Read more

Time Series Analysis with LSTM using Python’s Keras Library

Introduction Time series analysis refers to the analysis of change in the trend of the data over a period of time. Time series analysis has a variety of applications. One such application is the prediction of the future value of an item based on its past values. Future stock price prediction is probably the best example of such an application. In this article, we will see how we can perform time series analysis with the help of a recurrent neural […]

Read more
1 9 10 11