Transpose of a Matrix in Python

Transpose of a Matrix in Python

A transpose of a matrix is obtained by interchanging all its rows into columns or columns into rows. It is denoted by \(\displaystyle {{A}^{t}}\) or \(\displaystyle {{A}^{‘}}\). For example, If  \(\displaystyle A=\left[ {\begin{array}{*{20}{c}} 1 & 2 & 3 \\ 4 & 3 & 5 \\ 2 & 6 & 2 \end{array}} \right]\,\) then  \(\displaystyle A=\left[ … Read more

Matrix Addition and Subtraction in Python

Matrix Addition and Subtraction in Python

Matrix Addition and Subtraction in Python programming language is performed like the normal algebraic operations. Before discussing these operations, it is necessary to introduce a bit about Algebra which has been taken from the Arabic word Al-Jabar, afterward, this word turned into Algebra. Algebra is a branch of Mathematics that provides an easy solution to … Read more

Implementing Support Vector Machine (SVM) in Python

Support Vector Machine (SVM) in Python

Machine Learning is the most famous procedure of foreseeing the future or arranging data to help individuals in settling on essential choices. The algorithms are trained over models through which they gain information from past encounters so as to make forecasts about what’s to come. There are three types of Machine learning i.e. supervised learning, … Read more

Machine Learning With Python – A Real Life Example


In this article we are going to discuss machine learning with python with the help of a real-life example. Before we proceed towards a real-life example, just recap the basic concept of Linear Regression. Usually, Linear Regression is used for predictive analysis. It is a linear approximation of a fundamental relationship between two (one dependent … Read more

What is Clustering & its Types? K-Means Clustering Example (Python)

K Means Clustering Example in Python

Cluster Analysis Cluster is a group of data objects that are similar to one another within the same cluster, whereas, dissimilar to the objects in the other clusters. Cluster analysis is a technique used to classify the data objects into relative groups called clusters. Clustering is an unsupervised learning approach in which there are no … Read more

Logistic Regression (Python) Explained using Practical Example

logistic regression python example

Logistic Regression is a predictive analysis which is used to explain the data and relationship between one dependent binary variable and one or more nominal, ordinal, interval or ratio-level independent variables. It is mostly used in biological sciences and social science applications. For instance, predict whether received email is spam or not. Similarly, predict whether … Read more

Basics of Python for Data Science


Introduction to Python Python is an open-source, high-level and general-purpose programming language which was created by Guido Van Rossum and released in 1991. Python 3.7 was released on 27.06.2018. It is very powerful, fast, friendly and easy to learn programming language. From here to onward we will use Python 3. Jupyter The Jupyter Notebook is … Read more

How to install Anaconda (Python Distribution) on Windows

How to install Anaconda (Python Distribution) on Windows

Anaconda Installation and setup guide for Windows. You will learn how to install Python on windows, step by step. Anaconda is most widely used open source distribution to perform Python/R for data science and machine learning. Data Scientists can easily analyze the data and visualize the results by using Python/R. Anaconda Download Link How to … Read more