Tag Archives: machine learning

Stochastic Gradient Descent Python Example

stochastic gradient descent python example

In this post, you will learn the concepts of Stochastic Gradient Descent (SGD) using a Python example. Stochastic gradient descent is an optimization algorithm that is used to optimize the cost function while training machine learning models. The most popular algorithm such as gradient descent takes a long time to converge for large datasets. This is where the variant of gradient descent such as stochastic gradient descent comes into the picture. In order to demonstrate Stochastic gradient descent concepts, the Perceptron machine learning algorithm is used. Recall that Perceptron is also called a single-layer neural network. Before getting into details, let’s quickly understand the concepts of Perceptron and the underlying learning …

Continue reading

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

Dummy Variables in Regression Models: Python, R

dummy variable regression models python r examples

In linear regression, dummy variables are used to represent the categorical variables in the model. There are a few different ways that dummy variables can be created, and we will explore a few of them in this blog post. We will also take a look at some examples to help illustrate how dummy variables work. We will also understand concepts related to the dummy variable trap. By the end of this post, you should have a better understanding of how to use dummy variables in linear regression models. As a data scientist, it is important to understand how to use linear regression and dummy variables. What are dummy variables in …

Continue reading

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

Linear regression hypothesis testing: Concepts, Examples

Simple linear regression model

In relation to machine learning, linear regression is defined as a predictive modeling technique that allows us to build a model which can help predict continuous response variables as a function of a linear combination of explanatory or predictor variables. While training linear regression models, we need to rely on hypothesis testing in relation to determining the relationship between the response and predictor variables. In the case of the linear regression model, two types of hypothesis testing are done. They are T-tests and F-tests. In other words, there are two types of statistics that are used to assess whether linear regression models exist representing response and predictor variables. They are …

Continue reading

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

Correlation Concepts, Matrix & Heatmap using Seaborn

In this blog post, we’ll be discussing correlation concepts, matrix & heatmap using Seaborn. For those of you who aren’t familiar with Seaborn, it’s a library for data visualization in Python. So if you’re looking to up your data visualization game, stay tuned! We’ll start with the basics of correlation and move on to discuss how to create matrices and heatmaps with Seaborn. Let’s get started! Introduction to Correlation Correlation is a statistical measure that expresses the strength of the relationship between two variables. The two main types of correlation are positive and negative. Positive correlation occurs when two variables move in the same direction; as one increases, so do …

Continue reading

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

When to Use Which Clustering Algorithms?

when to use which clustering algorithm

There are many clustering machine learning algorithms to choose from when you want to cluster data. But which one should you use in a particular situation? In this blog post, we will explore the different clustering algorithms and explain when each one is most appropriate. We will also provide examples so that you can see how these algorithms work in practice. What clustering is and why it’s useful Simply speaking, clustering is a technique used in machine learning to group data points together. The goal of clustering is to find natural groups, or clusters, in the data. Clustering algorithms are used to automatically find these groups. Clustering is useful because …

Continue reading

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

Steps for Evaluating & Validating Time-Series Models

evaluating and validating time-series models

Time-series machine learning models are becoming increasingly popular due to the large volume of data that is now available. These models can be used to make predictions about future events, and they are often more accurate than traditional methods. However, it is important to properly evaluate (check accuracy by performing error analysis) and validate these models before you put them into production. In this blog post, we will discuss the different ways that you can evaluate and validate time series machine learning models. We will also provide some tips on how to improve your results. As data scientists, it is important to learn the techniques related to evaluating time-series models. …

Continue reading

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

Machine Learning with Alteryx: Examples

Alteryx machine learning use cases

Alteryx is a self-service data analytics software platform that enables users to easily prep, blend, and analyze data all in one place. It is a powerful tool that can be used in a variety of machine learning scenarios. It can be used to clean and prepare data, and develop, evaluate and deploy machine learning (ML) models. It offers a variety of features and tools that can be used to preprocess data, choose algorithms, train models, and evaluate results. In this blog post, we will discuss some of the ways that Alteryx can be used in machine learning. We will also provide examples of how to use Alteryx in machine learning scenarios. …

Continue reading

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

Hate Speech Detection Using Machine Learning

hate speech detection using machine learning

Hate speech is a big problem on the internet. It can be found on social media, in comment sections, and even in online forums. Detecting hate speech is important because it can have harmful effects on society. In this blog post, we will discuss the latest techniques for detecting hate speech using machine learning algorithms. We will also provide examples of how these algorithms work. What is hate speech? Hate speech can be defined as any speech that targets a group of people based on their race, religion, ethnicity, national origin, sexual orientation, or gender identity. Hate speech is often used to spread hate and bigotry. It can also be …

Continue reading

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

Machine Learning with Graphs: Free online course(Stanford)

what is machine learning

Are you interested in learning the concepts of machine learning with Graphs? Stanford University is offering a free online course in machine learning titled Machine Learning with Graphs (CS224W). The lecture videos will be available on Canvas for all the enrolled Stanford students. The lecture slides and assignments will be posted online as the course progresses. This class will be offered next in Fall 2022. After completing this course, you will be able to apply machine learning methods to a variety of real-world problems. The course titled Machine learning with Graphs, will teach you how to apply machine learning methods to graphs and networks. Complex data can be represented as …

Continue reading

Posted in Machine Learning, Online Courses. Tagged with .

Business Analytics Team Structure: Roles/ Responsibilities

business analytics value chain

Business analytics is a business function that has been around for years, but it’s only recently gained traction as one of the most important business functions. Organizations are now realizing how business analytics can help them increase revenue and improve business operations. But before you bring on a business analytics team, you need to determine if your company needs full-time or part-time team members or both. It might seem logical to hire full-time staff members just because they’re in demand, but this isn’t always necessary. If your business operates without any external data sets and doesn’t have complex reporting and advanced analytics needs then it may be more cost-effective to …

Continue reading

Posted in Data analytics, Data Science, Machine Learning, Product Management. Tagged with , , .

Linear Regression Interview Questions for Data Scientists

linear regression questions

This page lists down 40 regression (linear/univariate, multiple/multilinear/multivariate) interview questions  (in form of objective questions) which may prove to be helpful for Data Scientists / Machine Learning enthusiasts. Those appearing for interviews for machine learning/data scientist freshers/intern/beginners positions would also find these questions very helpful and handy enough to quickly brush up / check your knowledge and prepare accordingly. Practice Tests on Regression Analysis These interview questions are split into four different practice tests with questions and answers which can be found on following page: Linear, Multiple regression interview questions and answers – Set 1 Linear, Multiple regression interview questions and answers – Set 2 Linear, Multiple regression interview questions …

Continue reading

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

Different Success / Evaluation Metrics for AI / ML Products

Success metrics for AI and ML products

In this post, you will learn about some of the common success metrics that can be used for measuring the success of AI / ML (machine learning) / DS (data science) initiatives / projects / products. If you are one of the AI / ML stakeholders including product managers, you would want to get hold of these metrics in order to apply right metrics in right business use cases. Business leaders do want to know and maximise the return on investments (ROI) from AI / ML investments.  Here is the list of success metrics for AI / DS / ML initiatives: Business value metrics / key performance indicators (KPIs): Business …

Continue reading

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

Warehouse Management & Machine Learning Use Cases

warehouse management machine learning use cases

Warehouses are a vital part of the supply chain. Not only do they store products, but warehouses also play a role in shipping and receiving goods. As warehouse operations become more complex, it’s important to use technology to help manage them. Warehouses need to be able to efficiently manage the flow of goods in and out while still making room for new deliveries. Increasingly warehouses are turning to machine learning algorithms as a way to improve warehouse efficiency, reduce costs, and increase warehouse productivity. In this blog post, we will explore different machine learning use cases which can be deployed by warehouse managers to create a positive business impact. Machine …

Continue reading

Posted in Data Science, Machine Learning. Tagged with .

Type I & Type II Errors in Hypothesis Testing: Examples

This article describes Type I and Type II errors made due to incorrect evaluation of the outcome of hypothesis testing, based on a couple of examples such as the person comitting a crime, the house on fire, and Covid-19. You may want to note that it is key to understand type I and type II errors as these concepts will show up when we are evaluating a hypothesis such as those related to machine learning algorithms (linear regression, logistic regression, etc). For example, in the case of linear regression models, the significance value is compared with the p-value and, the null hypothesis that the parameter/coefficient is equal to zero is …

Continue reading

Posted in Data Science, statistics. Tagged with , , .

Cybersecurity Machine Learning Use Cases: Examples

cybersecurity machine learning use cases

Cybersecurity professionals are increasingly finding cybersecurity machine learning use cases in their work. The reason for this is that cybersecurity has become more complicated and the scale of cybersecurity threats is growing exponentially. Machine learning can help to combat these cybersecurity threats by providing security teams with real-time alerts, but there are many cybersecurity machine learning use cases beyond just cybersecurity. Artificial intelligence (AI) technologies, in particular, machine learning models such as logistic regression, SVM and random forest, etc., and deep neural networks models such as CNN, LSTM, etc., have been widely used to fight against cyberattacks. In this blog post, we will look into how machine learning is being …

Continue reading

Posted in AI, Deep Learning, Machine Learning. Tagged with , .

Elbow Method vs Silhouette Score – Which is Better?

In K-means clustering, elbow method and silhouette analysis or score techniques are used to find the number of clusters in a dataset. The elbow method is used to find the “elbow” point, where adding additional data samples does not change cluster membership much. Silhouette score determines whether there are large gaps between each sample and all other samples within the same cluster or across different clusters. In this post, you will learn about these two different methods to use for finding optimal number of clusters in K-means clustering. Selecting optimal number of clusters is key to applying clustering algorithm to the dataset. As a data scientist, knowing these two techniques to find …

Continue reading

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