The reusable solution to any commonly occurring problem is known as Design Pattern. Design Patterns are mostly practiced in this programming world.
Now, you may thing what is commonly occurring problem? Let’s see with an example.
Example:
If we require only one instance to be created from a class and other classes can use that object.
Solution:
The best solution is Singleton design pattern. And, all other design patterns will have a set of rules and specifications to solve problems. We will learn them one by one.
We have remember that these design patterns are independent to programming languages. So…
We express our emotions via facial cues, that can be identified by computers using the machine and deep learning algorithms. Detecting facial emotions is an important research area. This capability to detect emotions is called emotional intelligence. How machines detect emotions? Do they need anything?. Machines need plenty of datasets to learn emotions. There are datasets available as images or videos.
Here, we can have a look at some datasets that can be used for emotion recognition.
AffectNet is one of the popular datasets for detecting facial emotions. The dataset contains around one million facial images. They were collected from…
In this article, we can discuss on how to make stylish react buttons. We can use Material-UI for making them stylish. You can refer my previous article to install Material-UI.
What is Button? Why are we using buttons in our app? Buttons help to communicate actions.
Material-UI is a popular framework for React. Are you new to Material-UI? It is very easy to learn. This guide will help you to get started. It is one of the popular libraries for React user interface. It’s components can work in isolation.
if you are new to React, refer this page to create a react app.
You can follow the guide to create stylish tables.
It is available with npm packages.
npm install @material-ui/core
You can import Table using the following commands.
import Table from '@material-ui/core/Table';
// or
import { Table } from '@material-ui/core';
Other required libraries can…
You would have heard the terms imbalance data handling if you have worked in machine learning or data science. This situation will occur when majority of the data samples belongs to one class and only a few samples belong to other class. The problem will occur frequently in scenarios like detecting anomalies like identifying rare diseases, fraudulent transactions in banks etc.
When we see a complex problem, we always try to understand the problem and solve them. How to understand the problem? We can break the problem into smaller chunks. Then, it would be easy to understand and solve them. The other huge problem is dealing with big data. The data may be complex or high dimensional. It would be hard to extract information or hidden patterns behind the dataset.
The problem is not finding any patterns hidden in the data. Then, what would be the problem? It is about finding a pattern that is useful among all other patterns. Unsupervised…
In this article, we will have a quick overview on traditional identity management, drawbacks in it and the remedies.
If you want to create accounts in multiple applications and have to remember the credentials for all accounts. It will be easy to remember credentials for some accounts. If you have hundreds of accounts, can you remember the credentials?. No. If you have to maintain 100+ accounts, you may give simple passwords or the same passwords to all accounts. This may result for high Chances of data breaches. And this approach has minimum user experience because you have to remember credentials…
Convolution neural networks (CNNs) have played an important role in the area of neural development in recent years. Similarly, other variants of CNN architecture performed well in classification tasks. There were two main drawbacks in using CNN. One is failure to consider spatial hierarchies and lack of rotational invariance. This causes the false positive and false negative to increase. The test data may contain specific features in them, but it will be ignored due to spatial orientation. This results in increasing of false positives. Due to the issue of rotational invariance, there is a high possibility of assigning an object…
In this article, we will discuss how to clone from a specific branch. Let’s begin!
Git is a distributed version control system designed to track changes to a project. Github is web based hosting service for version control using Git.
Download and install the latest Git for Windows here.
Debian or Ubuntu
sudo apt-get update
sudo apt-get install git
sudo apt-get install git
Download and install the latest Git for Mac here.
Now, we have got Git installed. Use the following code to clone the repository.
git clone <repository URL>
When working with git, we will likely have different features…
In this Flask tutorial, we’re going to discuss how to return files.
There are two components in this process.
HTML
We have to define an HTML href , which will…
Undergraduate, Computer Science & Engineering