Aditya Chatterjee's Blog, page 86
June 1, 2022
RefineNet Model
The go-to method for Semantic Segmentation has been deep CNN but this method has a limitation where the segmentation process is performed on down-sampled versions of input data, hence they perform poorly when it comes to high-resolution segmentation. This can be improved by other methods in a trade-off between, model implementation requirements like time and space for better resolution. An effective alternative solution is RefineNet Model.
Table of contents
IntroductionConventional MethodsRef...EEG Signal Analysis With Python
In this article, we will learn how to process EEG signals with Python using the MNE-Python library.
Table of ContentsIntroduction to EEGInstallation/SetupLoading dataPlotting EEG SignalsPreprocessingEpochingConclusionIntroduction to EEGElectroencephalography (EEG) is a technique for continuously recording brain activity in the form of brainwaves. EEG is commonly used because it provides a noninvasive, easy, and inexpensive method to measure neural activity at a high resol...
Hibernate Annotations
Hibernate is an open-source Java ORM tool that is used between the Java application and the JDBC that connects to the database. To put the hibernate into work we need to provide three things:
Hibernate Configuration - to configure caching strategies, SQL statement logging in the console, etc.Database connection details - database credentials like driver class, username, password, and connection URL, to connect to the databaseMapping details - to map the entity classes to database tablesWe c...
Nested Dictionary in Python
In this article, we will learn about the data structure Nested dictionaries in the python. Also, we will learn about creating, accessing, modifying and iterating through them.
Table of contents:
What is a Dictionary?What are Nested Dictionaries?Different ways of creating Nested DictionaryAccessing the elements in a Nested DictionaryAdding the Nested Dictionary ItemsUpdating the Nested Dictionary ItemsMerge the two Nested DictionariesRemoving Nested Dictionary itemsIterating through Nest...std:to_string and std::to_wstring in C++
In this article, we have explored the functions std:to_string and std::to_wstring in C++ STL along with the difference between string and wstring (wide string).
Table of content
std::to_stringstd::to_wstringDifference between string and wstringIn short: std:to_string is used to convert a numeric datatype to string while std::to_wstring is used to convert a numeric datatype to wide string (wstring).
std::to_stringstd::to_string in C++ is a Template used to convert any data type to
string.
I...
May 30, 2022
Integrating android application to firebase real-time database
In this article, we will see how can we integrate our android application to firebase real-time database. So lets get started.
First of all lets see what are the prerequisites.A Google Firebase Account.Android Studio installed on your workstation.Internet (of course XD).Table of contents:Creating database in firebase account.Connecting Android Studio to Database.Coding the application.Creating database in firebase accountFirst of all, login to your firebase account. After logging in...
Maximum area of island
In this article, we have presented an efficient algorithm to find the maximum area of island in a grid. This includes the concept of BFS and DFS.
ContentsProblem StatementBetter visual representation of inputBrute Force ApproachSolving the problemCodeCode WalkthroughOutputTracing the code for the exampleTime and Space ComplexityProblem StatementWe are provided with an m x n binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally (horizontal or v...
Gatsby.js tutorial: Introduction and Setup
In this Gatsby.js tutorial, we have prepared the local environment to work on, installed the dependencies and created the first Gatsby project framework.
Table Of Contents:
What is Gatsby.jsWhy it was madeUse casesPrior knowledge requirementsSetting up your workflowCreating your first Gatsby projectWhat is Gatsby.jsGatsby.js is a static site generator with some caveats. It creates websites that do not have to communicate with other servers to request new data to update live on the websi...
Jensen Shannon Divergence
This article will discuss about one of the performance metrics used to evaluate the model's performance. These metrics will compare the generated output to the provided ground-truth values. Jensen Shannon Divergence is one of the distribution comparison techniques that can be easily used in parametric tests.
Table of contents:
What is the need for measuring divergence or similarity between distributions?Jensen Shannon Divergence (JSD)Properties of Jenson Shannon Divergence (JSD)Implementing ...Hibernate Inheritance Mapping
Hibernate is an implementation of JPA specification. Hibernate effectively takes care of the fundamental difference between how OOPs and RDBMS deal with data and provides ease of programming. Implementing various strategies for mapping hibernate deals with various Object-Relational Impedance mismatches.
In this article, we are going to learn various strategies of inheritance mapping that hibernate implements to deal with Inheritance Object-Relational Impedance Mismatch.
What is mappingIn simple...