Difference between List and Tuple in Python

Lists and Tuple store one or more objects or values in a specific order. The objects stored in a list or tuple can be of any type including the nothing type defined by the None Keyword. Syntax Differences Syntax of list and tuple is slightly different. List are surrounded by square brackets [] and Tuples…

Read More

Support Vector Machine algorithm for Machine Learning

Support vector Machine or SVM is a Supervised Learning algorithm, which is used for Classification and Regression problems. However, primarily, it is used for classification problems in Machine Learning. The goal of the SVM algorithm is to create the decision boundary that can segregate n-dimensional space into classes so that we can easily classify new…

Read More

Breast Cancer Detection Project using ML

Breast cancer (BC) is one among the foremost common cancers among ladies worldwide, representing the bulk of recent cancer cases and cancer-related deaths in line with world statistics, creating it a major public ill health in today’s society. The early diagnosing of BC will improve the prognosis and probability of survival considerably, because it will promote timely clinical treatment to patients. any correct classification of benign tumors will stop patients undergoing supernumerary…

Read More

Python List Methods

The Python List is a general data structure widely used in Python programs. They are both mutable and can be indexed and sliced. List methods 1 – append(value) Append a new element to the end of the list. 2 – extend(value) Extends the list by appending elements from another enumerable. 3 – index(value) Gets the…

Read More

Random Forest algorithm for Machine Learning

Random Forest is better than Decision Tree as the greater number of trees in the forest leads to higher accuracy and prevents the problem of overfitting. Algorithm working Random Forest uses a Bagging technique with one modification, where subset of features are used for finding best split. Advantages & Disadvantages Disadvantages Popular Posts

Read More

End to End Project Multiple Disease Detection using ML

Project 1: Heart Disease Detection Machine Learning is used across numerous spheres around the world. The healthcare industry is no exception. Machine Learning can play an essential part in predicting presence/ absence of Locomotor diseases, Heart conditions and further. similar information, if predicted well in advance, can give important perceptivity to doctors who can also…

Read More

Arrays Functions and Functional Programming in Python

This post is dedicated to some of the commonly used numpy function to do with arrays in python. 1 – Remove Duplicate from arrays using numpy 2 – Concatenate two arrays using numpy 3 – Get product of one/two arrays using numpy 4 – Basic maths function of Numpy Functional Programming Functional programming is a…

Read More

Array Methods in Python

Arrays are used to store multiple values in one single variable. Array can be handled in Python by a module named array. Type codes for different data types: These codes are used while creating an array. 1 – Creating an Array Array(data_type, value_list) 2 – Adding Element to Array Insert() is used to insert one…

Read More

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