What is Bayes’ Theorem?

What is Bayes’ Theorem?

Bayes’s theorem is a way of finding a probability when we have certain other probabilities. Bayes’s theorem is stated mathematically as the following equation: Where A and B are events and P(B) ≠ 0, P(A | B) is also a conditional probability: the likelihood of event A occurring given  B is true. P(B | A) is also a conditional probability: the likelihood of event B occurring given  A is true. P(A)  and P(B) are conditional probabilities…

Read full Article Read More

What is Conditional Probability?

What is Conditional Probability?

Suppose two events A and B are mutually inclusive events ( having one or more outcomes in common ). Conditional probability i.e. P( A | B ) is the probability of event A occurring with some relationship to event B. Mathematically, P(A | B) = P(A and B) / P(A) which you can also rewrite as: P(A | B) = P(A∩B) / P(A) where P(A) ≠ 0 Conditional Probability in Real World Suppose the weather forecasts…

Read full Article Read More

Install and run your project in python virtual Environment

Install and run your project in python virtual Environment

In this article, we’ll show you how to install virtual environment in your system and run your python project in virtual environment. A virtual environment is important if you don’t want to disturb what you install for a specific project to others in the same system. You can have multiple virtual environments in one system and each project requirement can be kept in a specific python environment. It is the best practice while working in…

Read full Article Read More

Run Docker without using sudo in Linux

Run Docker without using sudo in Linux

Docker Engine is an open-source containerization technology for building and containerizing your applications. To know more see the official site. After the successful installation of docker in your system you have to go through a few basic steps to run docker without SUDO. Step 1: Add the docker group if it doesn’t already exist sudo groupadd docker Step 2: Add the connected user “$USER” to the docker group. sudo gpasswd -a $USER docker Step 3:…

Read full Article Read More

What is Machine Learning?

What is Machine Learning?

Machine learning is being used by people in various ways knowingly or unknowingly. Each time when we Google or Bing search we get the best results because they have used machine learning to rank page. The world biggest search engine giant Google offers recommendation and suggestion based on the previous user searches. In 2012, Google introduced Knowledge Graph -an algorithm used to decipher the semantic content of a search query. Facebook uses a face recognition…

Read full Article Read More

Fix: The file size exceeded the maximum size permitted by your PHP configuration

Fix: The file size exceeded the maximum size permitted by your PHP configuration

You might have encountered this error while uploading database using phpmyadmin dashboard. The default size is 2MB in php.ini for “upload_max_filesize“. Change the value of upload max filesize to your desired size say 20MB. And also need to change post_max_sizeif you have changed upload_max_filesize greater or equal to upload max filesize.  post_max_size must be greater or equal to upload_max_filesize. If you are ubuntu user then first locate your php.ini. Use bash  command “locate php.ini” to locate…

Read full Article Read More

What is Mathematical Morphology?

What is Mathematical Morphology?

According to Wikipedia “Mathematical morphology (MM) is a theory and technique for the analysis and processing of geometrical structures, based on set theory, lattice theory, topology, and random functions”. It is mainly applied to digital images for image processing. There are many operations of mathematical morphology but mainly used operations are dilation for increasing the image regions, erosion for shrinking the image regions and thinning for structured erosion using image pattern matching. Basic Operations of…

Read full Article Read More

What is Histograms of Oriented Gradients?

What is Histograms of Oriented Gradients?

HoGs are a feature descriptor that has been widely and successfully used for object detection. It presents objects as a single feature vector as oppossed to a set of feature vectors where each represents a segment of the image. It’s computed by sliding window detector over an image, where a HOG descriptor is a computed for each position. Like SIFT the scale of the image is adjusted (pyramiding). HOGs are often used with SVM (Support…

Read full Article Read More

What is Support Vector Machine (SVM)?

What is Support Vector Machine (SVM)?

Support Vector Machine is a supervised learning algorithm which can be used for both classification or regression problems. In this algorithm, data points are plotted in an n-dimension space (where n is a number of features) with the value of each feature being the value of a particular coordinate. Then, classification is done by finding hyper-plane separating between two classes. Support Vector Machine is a frontier which best segregates the two classes (hyper-plane/ line). Support…

Read full Article Read More