Aditya Chatterjee's Blog, page 28

May 28, 2023

Basic Android app to print "Hello OpenGenus"

Basic Android app to print

In this article, we would build a basic application that will display the text "Hello openGenus" on the screen. In this tutorial, we will make use of the following tools and languages:

A system running on Linux, Windows, Mac or Chrome OS .Android Studio: This is an Integrated Development Environment (IDE) for Android app development.You can download Android studio from here https://developer.android.com/studio. The OpenJDK (Java Development Kit) is bundled with Android Studio. Android studio i...
 •  0 comments  •  flag
Share on Twitter
Published on May 28, 2023 12:44

May 26, 2023

Java Local Inner Classes

In this article at OpenGenus, we will discuss what local inner classes are in Java, some properties of local inner classes in relation to standard inner classes/Java classes declared in a standalone files, and some use cases for local inner classes.

What are Local Inner Classes?

Syntactically, local inner classes, in Java are simply classes declared within the body of any code block, such as within a method body or within a loop. Furthermore, they are declared in the same way that you would decl...

 •  0 comments  •  flag
Share on Twitter
Published on May 26, 2023 05:04

May 25, 2023

Adjacency list and matrix in Python using OOP concepts

In this article at OpenGenus, we have implemented Adjacency list and matrix in Python using OOP concepts. This is a must for mastering Graph Algorithm in Python.

Table of Contents

IntroductionAdjacency ListAdjacency MatrixAdjacency List Implementation in PythonAdjacency Matrix Implementation in PythonIntroduction:

In graph theory, adjacency lists and adjacency matrices are two common representations of graphs. These representations are used to store and manipulate the relationships betwee...

 •  0 comments  •  flag
Share on Twitter
Published on May 25, 2023 11:33

BitTorrent Architecture

BitTorrent Architecture has emerged as a groundbreaking technology that has transformed the way we share files over internet. With its decentralized and efficient approach, BitTorrent has become a popular choice for distributing large files, such as movies, software, and other media. In this article at OpenGenus, we will briefly explain the BitTorrent architecture, exploring its key components and the underlying principles that make it a reliable peer-to-peer file transfer proctocol.

Table of ...
 •  0 comments  •  flag
Share on Twitter
Published on May 25, 2023 11:28

Concept of Multiple Instance Learning (MIL)

In the field of machine learning, Multiple Instance Learning (MIL) is a paradigm that expands upon traditional supervised learning. MIL differs from conventional supervised learning, where each training instance is individually labeled. Instead, MIL operates on sets of instances called bags, with each bag associated with a single label. The objective is to develop a model that can effectively classify unseen bags based on their content. MIL has attracted considerable attention due to its capacit...

 •  0 comments  •  flag
Share on Twitter
Published on May 25, 2023 11:23

May 22, 2023

What is MERN Stack? (+ MEAN vs MERN vs LAMP)

Table of Contents:-IntroductionM stands forE stands forR stands forN stands forWhen to use MERN StackMERN Vs MEAN and LAMPConclusion

Introduction to MERN Stack: Building Web Applications with JavaScript

Introduction

In the world of web development, the MERN stack has gained significant popularity due to its versatility and ease of use. MERN stands for MongoDB, Express.js, React.js, and Node.js - four powerful technologies that come together to form a comprehensive web development stack...

 •  0 comments  •  flag
Share on Twitter
Published on May 22, 2023 06:01

May 21, 2023

Stack::Empty in C++ STL

Introduction Stack::Empty Complexity Real-World Applications Practice Questions

Reading time: 5-10 minutes | Coding time: 2 minutes

Introduction

In C++, a stack is a data structure that stores elements following Last-In-First-Out (LIFO) ordering. Before using stack::empty, you must first initialize a stack in your code. To allow their usage, the C++ standard library provides the stack class, which provides a list of functions and operations for working with stacks. In or...

 •  0 comments  •  flag
Share on Twitter
Published on May 21, 2023 23:43

Megatron NLG model

Introduction

NVIDIA created the massive transformer-based NLG model known as Megatron. It is based on the transformer architecture and made to produce text that resembles human speech quickly and accurately. It is intended to produce excellent text that, in terms of grammar, style, and coherence, resembles human-written text.

Using distributed training methods, the initial Megatron model was trained on enormous amounts of text data and released in 2019. It could produce excellent text in a range...

 •  0 comments  •  flag
Share on Twitter
Published on May 21, 2023 12:35

Feature Selection Problem in Machine Learning

IntroductionThe Importance of Feature SelectionSupervised vs. Unsupervised Feature SelectionWays to implement Feature SelectionFuture Impact of Feature SelectionFeature Selection in Deep LearningIntroduction

Machine learning algorithms are powerful tool sthat can unconver valuable insights and make accurate predictions. Howewver, the performance of algorithms depends heavily on the quality of the features that are inputted into them.

The feature selection problem in machine learning deal...

 •  0 comments  •  flag
Share on Twitter
Published on May 21, 2023 11:40

SEO in React JS

INTRODUCTIONSEO in React JS

SEO, or search engine optimization, is a practice aimed at improving a website's visibility and ranking on search engine results pages. It involves various strategies and techniques that optimize website content, structure, and design to make it more appealing to search engines and users alike. By implementing SEO, website owners strive to increase organic (non-paid) traffic to their site by targeting relevant keywords, improving website speed and performance, creating high-quality ...

 •  0 comments  •  flag
Share on Twitter
Published on May 21, 2023 05:56