Confusion matrix for Binary classification in Machine Learning
A confusion matrix is a technique for summarizing the performance of a classification algorithm. It is represented in an N x N matrix form where N is the number of target or output classes. Let’s say we have gender classification…
Install MongoDB in Local environment without admin privileges
Installing MongoDB with windows msi installer needs administrator rights. Alternatively you can install the community edition on your local account without admin privileges. Follow the below steps to setup the mongo db server on your local account Download the ‘MongoDB…
Making HTTP Requests and processing JSON Response in python
We can make HTTP GET requests with python libraries like urllib , httplib and request.In the below example we will make an API call with requests library and processthe JSON data returned from server. Here we are fetching the current…
Parsing Web Pages with Python
Scraping and parsing text from websites can be done with urlopen request method .Python libraray urllib contains tools for working with URLs. You can fetch all the html code by providing the urllink . Once all the html text is…
bazaar command giving except locale.Error , e
Sometimes bazaar throws below error whenever there is change in python version.This happens since the exception handling between two python versions has changed or different. So you need to use the correct version to resolve the issue.So you need to…
Install git in non root user account
To Install and build git from source in a non-root user account download the source tarball from kernel.org .For the current example i have used git-2.29.2.tar.gz on RHEL 8 version. Login as a non root user and follow the below…
Set Windows Environment Variables without admin rights
In windows thee are two sets of environment variables; one for the current user, and one for the whole users and the current machine ( system-wide). First option can be used to set path variable permanently for normal user not…
Install bazaar with local user and non root privilege
If you check bzr INSTALL file for installation instructions you will find there are two modes in whichbazaar installation can be done. 1. To install bzr as a user, run ( non root) 2. To install system-wide, run (as root)…
Move or Migrate wordpress site from Server to Localhost
There are many plugins available to migrate wordPress sites ,but you can do it manually.This article explains how to to migrate or move your live WordPress site to local server. Follow the below steps for moving data from server to…