Machine Learning

DECISION TREE ALGORITHM

Decision tree Algorithm

Decision tree algorithm is a commonly used supervised learning algorithm, solves classification problems. Decision tree is the graphical representation of all the possible solutions to a decision. Decisions are based on some conditions. Decision tree is a tree-like structure, that breaks down a dataset into smaller and smaller subsets. The final result is a tree with decision …

Decision tree Algorithm Read More »

KNN ALGORITHM

KNN Algorithm (K-Nearest Neighbors)

K-Nearest Neighbors(KNN) is one of the simplest supervised machine learning algorithms used for classification.  KNN algorithm performs by matching the test data with K neighbor training examples and decides its group. K is the number of neighbors in KNN. The KNN algorithm is used in the following scenarios: Data is noise-free Data is labeled Dataset …

KNN Algorithm (K-Nearest Neighbors) Read More »

Linear Regression

Linear Regression using sklearn

Simple Linear Regression using scikit-learn Linear Regression is a statistical model used to predict the linear relationship between two or more variables. Here we are going to demonstrate the linear Regression model using the Scikit-learn library in Python. Scikit-learn also defined as sklearn is a python library with a lot of efficient tools for machine learning …

Linear Regression using sklearn Read More »

What is Linear Regression?

LINEAR REGRESSION: Linear regression is a Supervised Machine Learning algorithm. It is a statistical model used to predict the linear relationship between two or more variables. Mostly we treat datasets with quantitative values as regression models. Linear regression models use a straight line, logistic and nonlinear regression models use a curved line. There are two …

What is Linear Regression? Read More »