Category Archives: Machine Learning

Recommender Systems in Machine Learning: Examples

collaborative filtering - recommender system

Recommender systems are used in machine learning to predict the ratings or preferences of items for a given user. They are commonly used in e-commerce applications to suggest items that a user may be interested in. One common example of a recommender system is Netflix. Netflix uses a recommender system to suggest movies and TV shows that a user may want to watch. The algorithm looks at past ratings and preferences to make suggestions. In this blog post, you will learn about recommender systems and some of the different types of recommender systems with the help of examples. Recommender systems make use of machine learning to predict the ratings or …

Continue reading

Posted in Data Science, Machine Learning. Tagged with , .

Linear Discriminant Analysis (LDA) Concepts & Examples

Linear Discriminant Analysis LDA and Fisher Criterian

You may have heard of Linear Discriminant Analysis (LDA), but you’re not sure what it is or how it works. In the world of machine learning, Linear Discriminant Analysis (LDA) is a powerful algorithm that can be used to determine the best separation between two or more classes. With LDA, you can quickly and easily identify which class a particular data point belongs to. This makes LDA a key tool for solving classification problems. In this blog post, we will discuss the key concepts behind LDA and provide some examples of how it can be used in the real world! What is Linear Discriminant Analysis (LDA) and what are its …

Continue reading

Posted in Data Science, Machine Learning. Tagged with , .

100 Interview Questions for Deep Learning

Interview questions deep learning

If you’re looking for a job in deep learning, you’ll need to be prepared to answer some tough questions. In order to help you get started, we’ve put together a list of 100 interview questions for deep learning. While many of these questions are related to deep learning concepts, we have also listed several frameworks (Tensorflow, Pytorch, etc) related questions. By being prepared for these questions, you’ll be able to demonstrate your knowledge and expertise in this area, and increase your chances of landing the job! What is deep learning? How does machine learning differ from deep learning? What are the differences between shallow and deep learning? How does deep …

Continue reading

Posted in Career Planning, Data, Data Science, Deep Learning, Interview questions, Machine Learning. Tagged with , , .

Who is a Data Scientist? Test your Knowledge

Interview questions

Do you know what a data scientist is? You may think you do, but take this quiz to find out for sure! Data scientists are essential to modern business and it’s important to know who they are and what they do. This quiz is just for fun, but it’s also a great opportunity to learn more about one of the most in-demand professions today. So put your data scientist knowledge to the test and see how well you really know this profession! And, feel free to share your thoughts if you disagree with the answer of any of the questions. Here are a few related posts on this topic: What …

Continue reading

Posted in Career Planning, Data, Data analytics, Data Science, Interview questions, Machine Learning. Tagged with , .

PCA Explained Variance Concepts with Python Example

In this post, you will learn about the concepts of explained variance which is one of the key concepts related to principal component analysis (PCA). The explained variance concepts will be illustrated with Python code examples. Check out the concepts of Eigenvalues and Eigenvectors in this post – Why & when to use Eigenvalue and Eigenvectors. What is Explained Variance? Explained variance is a statistical measure of how much variation in a dataset can be attributed to each of the principal components (eigenvectors) generated by the principal component analysis (PCA) method. In very basic terms, it refers to the amount of variability in a data set that can be attributed to …

Continue reading

Posted in Data Science, Machine Learning, Python. Tagged with , , .

Feature Scaling in Machine Learning: Python Examples

In this post you will learn about a simple technique namely feature scaling with Python code examples using which you could improve machine learning models. The models will be trained using Perceptron (single-layer neural network) classifier. First and foremost, lets quickly understand what is feature scaling and why one needs it? What is Feature Scaling and Why does one need it? Feature scaling is a method used to standardize the range of independent variables or features of data. In data processing, it is also known as data normalization or standardization. Feature scaling is generally performed during the data pre-processing stage, before training models using machine learning algorithms.  The goal is to …

Continue reading

Posted in AI, Data Science, Machine Learning. Tagged with , , .

One-hot Encoding Concepts & Python Examples

One-hot encoding concepts and python examples

In this post, you will learn about One-hot Encoding concepts and code examples using Python programming language. One-hot encoding is also called as dummy encoding. In this post, OneHotEncoder class of sklearn.preprocessing will be used in the code examples. As a data scientist or machine learning engineer, you must learn the one-hot encoding techniques as it comes very handy while training machine learning models. What is One-Hot Encoding? One-hot encoding is a process whereby categorical variables are converted into a form that can be provided as an input to machine learning models. It is an essential preprocessing step for many machine learning tasks. The goal of one-hot encoding is to …

Continue reading

Posted in Data Science, Machine Learning, Python. Tagged with , , .

Interns – Machine Learning Interview Questions & Answers: Set 1

interns machine learning interview questions and answers

This page lists down first set of machine learning / data science interview questions and answers for interns / freshers / beginners. If you are an intern or a fresher or a beginner in machine learning field, and, you are looking for some practice tests before appearing for your upcoming machine learning interview, these practice tests would prove to be very useful and handy. Machine Learning topics covered in Test In this set, some of the following topics have been covered: Machine learning fundamentals (Supervised and unsupervised learning algorithms) Different types of machine learning problems and related algorithms with examples Concepts related with regression, classification and clustering Practice Test (Questions …

Continue reading

Posted in Career Planning, Data Science, Freshers, Interview questions, Machine Learning. Tagged with , , , .

Data-centric vs Model-centric AI: Concepts, Examples

Data centric vs model-centric AI

There is a lot of discussion around AI and which approach is better: model-centric or data-centric. In this blog post, we will explore both approaches and give examples of each. We will also discuss the benefits and drawbacks of each approach. By the end of this post, you will have a better understanding of both AI approaches and be able to decide which one is right for your business! As product managers and data science architects, you should be knowledgeable about both of these AI approaches so that you can make informed decisions about the products and services you build. Model-centric approach to AI Model-centric approach to AI is about …

Continue reading

Posted in AI, Data, Data analytics, Data Science, Machine Learning. Tagged with , , .

Data Science Architect Interview Questions

interview questions

In this post, you will learn about interview questions that can be asked if you are going for a data scientist architect job. Data science architect needs to have knowledge in both data science/machine learning and cloud architecture. In addition, it also helps if the person is hands-on with programming languages such as Python & R. Without further ado, let’s get into some of the common questions right away. I will add further questions in the time to come. Q1. How do you go about architecting a data science or machine learning solution for any business problem? Solving a business problem using data science or machine learning based solution can …

Continue reading

Posted in Career Planning, Data Science, Enterprise Architecture, Interview questions, Machine Learning. Tagged with , , , .

Feature Importance & Random Forest – Python

Random forest for feature importance

In this post, you will learn about how to use Random Forest Classifier (RandomForestClassifier) for determining feature importance using Sklearn Python code example. This will be useful in feature selection by finding most important features when solving classification machine learning problem. It is very important to understand feature importance and feature selection techniques for data scientists to use most appropriate features for training machine learning models. Recall that other feature selection techniques includes L-norm regularization techniques, greedy search algorithms techniques such as sequential backward / sequential forward selection etc.  What & Why of Feature Importance? Feature importance is a key concept in machine learning that refers to the relative importance of each feature …

Continue reading

Posted in Data Science, Machine Learning, Python. Tagged with , , .

What is Machine Learning? Concepts & Examples

what is machine learning

Machine learning is a machine’s ability to learn from data. It has been around for decades, but machine learning is now being applied in nearly every industry and job function. In this blog post, we’ll cover a detailed introduction to what is machine learning (ML) including different definitions. We will also learn about different types of machine learning tasks, algorithms, etc along with real-world examples. What is machine learning & how does it work? Simply speaking, machine learning can be used to model our beliefs about real-world events. For example, let’s say a person came to a doctor with a certain blood report. A doctor based on his belief system …

Continue reading

Posted in Data Science, Deep Learning, Machine Learning. Tagged with , , .

Sklearn SimpleImputer Example – Impute Missing Data

In this post, you will learn about how to use Python’s Sklearn SimpleImputer for imputing / replacing numerical & categorical missing data using different strategies. In one of the related article posted sometime back, the usage of fillna method of Pandas DataFrame is discussed. Handling missing values is key part of data preprocessing and hence, it is of utmost importance for data scientists / machine learning Engineers to learn different techniques in relation imputing / replacing numerical or categorical missing values with appropriate value based on appropriate strategies. SimpleImputer Python Code Example SimpleImputer is a class in the sklearn.impute module that can be used to replace missing values in a dataset, using a …

Continue reading

Posted in Data Science, Machine Learning, Python. Tagged with , , , .

Pandas dropna: Drop Rows & Columns with Missing Values

pandas dropna method code sample

In this blog post, we will be discussing Pandas’ dropna method. This method is used for dropping rows and columns that have missing values. Pandas is a powerful data analysis library for Python, and the dropna function is one of its most useful features. As data scientists, it is important to be able to handle missing data, and Pandas’ dropna function makes this easy. Pandas dropna Method Pandas’ dropna function allows us to drop rows or columns with missing values in our dataframe. Find the documentation of Pandas dropna method on this page: pandas.DataFrame.dropna. The dropna method looks like the following: DataFrame.dropna(axis=0, how=’any’, thresh=None, subset=None, inplace=False) Given the above method and parameters, the following …

Continue reading

Posted in Data Science, Machine Learning, Python. Tagged with , , .

K-Nearest Neighbors (KNN) Python Examples

If you’re working with data analytics projects including building machine learning (ML) models, you’ve probably heard of the K-nearest neighbors (KNN) algorithm. But what is it, exactly? And more importantly, how can you use it in your own AI / ML projects? In this post, we’ll take a closer look at the KNN algorithm and walk through a simple Python example. You will learn about the K-nearest neighbors algorithm with Python Sklearn examples. K-nearest neighbors algorithm is used for solving both classification and regression machine learning problems. Stay tuned!  Introduction to K-Nearest Neighbors (K-NN) Algorithm K-nearest neighbors is a supervised machine learning algorithm for classification and regression. In both cases, the input consists …

Continue reading

Posted in Data Science, Machine Learning, Python. Tagged with , , , .

Accuracy, Precision, Recall & F1-Score – Python Examples

Classification models are used in classification problems to predict the target class of the data sample. The classification model predicts the probability that each instance belongs to one class or another. It is important to evaluate the performance of the classifications model in order to reliably use these models in production for solving real-world problems. Performance measures in machine learning classification models are used to assess how well machine learning classification models perform in a given context. These performance metrics include accuracy, precision, recall, and F1-score. Because it helps us understand the strengths and limitations of these models when making predictions in new situations, model performance is essential for machine …

Continue reading

Posted in Data Science, Machine Learning, Python. Tagged with , , , .