K-nearest Neighbor for Machine Learning

Analogy behind KNN: tell me about your friend (who your neighbors are) and I will tell you who you are. Algorithms Common distance function measure used for continuous variables. KNN Working The k-NN working can be explained on the basis of the below algorithm: Step-1: select the number of K of the neighbors Step-2: Calculate…

Read More

Decision Tree for Machine Learning

Tree based algorithms are a popular family of related non-parametric and supervised methods for both classification and regression. The decision tree looks like a upside-down tree with a decision rule at the root, from which subsequent decision rules spread out below. Sometimes decision trees are also referred to as CART, which is short for classification…

Read More

End to End Project Laptop Price Prediction using Machine Learning

Machine learning relies on AI to predict the future based on past data. If you’re a data science enthusiast or practitioner, this article will help you build your own end-to-end machine learning project from scratch. In order for a machine-learning project to be successful, there are several steps that should be followed. These steps vary…

Read More

Logistic Regression for Machine Learning

Logistic Regression is one of the most used Machine learning algorithms among industries and academia. It is a supervised learning algorithm used for classification where the target variable should be categorical. Why not Linear Regression for classification There are mainly two reasons for not fitting a linear regression on classification tasks: When we fit a…

Read More

Gradient Descent for Linear Regression

Gradient Descent is defined as one of the most commonly used iterative optimization algorithm of machine learning to train the machine learning and deep learning models. It helps in finding the local minima of a function. The best way to define the local minima or local maxima of a function using gradient descent is as…

Read More

Netflix Data Analysis Project using Python

Netflix is one of the most popular streaming services in the world, with a massive subscriber base. In this article we’re going to explore how data scientists can use Python to analyze Netflix data from various perspectives: how you watch Netflix and what you do once it finishes. As we have already worked with Jupyter…

Read More

Spotify Data Analysis Project using Python

Data analysis is an important field in business, research and many other areas. Among the many uses of this data, there are helping to make decisions and publish research papers. The weather can also be predicted based on data analysis too. You’ll learn how to perform exploratory data analysis by analyzing musical-related data sets within…

Read More

Linear Regression for Machine Learning

Linear regression is the statistical technique to find relationship between two or more variables. To predict the values of response (target) variable based on that values of predictors (external / independent variables) we can use linear regression. Simple linear regression is having only one external factor while Multiple liner regression is having more than one…

Read More

What is GD, Batch GD, SGD, Mini-Batch GD?

What is Gradient Descent, Batch Gradient Descent, Stochastic Gradient Descent, Mini-Batch Gradient Descent? Gradient Descent This algorithm is a general algorithm that is used for optimization and for providing the optimal solution for various problems. It takes parameters in an iterative way and makes the cost function as simple as possible. 1) Define a cost…

Read More

Top 40 Data Science Interview Questions and Answers

1 – What is F1 score? F1 score is a measure of the accuracy of a model. It is defined as the harmonic mean of precision and recall. F1 score is one of the most popular metrics for assessing how well a machine learning algorithm performs on predicting a target variable. F1 score ranges from…

Read More