Machine Learning (ML) Calculate output size of Convolution In this article, we have illustrated how to calculate the size of output in a convolution provided we have the dimensions of input data, kernel, stride and padding.
Software Engineering Complex Numbers in Python In this article, we have explored how to work with Complex Numbers in Python which is supported in Python inherently as a fundamental datatype. We have covered the different operations as well.
Software Engineering Check if Strings are equal in Java In this article, we have explored how to find if two strings are equal in Java. There are three ways to check if two strings in Java are equal by == operator, equals() method and compareTo() method.
Algorithms Find the smallest element in an array We are given an integer array of size N or we can say number of elements is equal to N. We have to find the smallest/ minimum element in an array. The time complexity to solve this is linear O(N) and space complexity is O(1).
Software Engineering 2D Arrays in NumPy (Python) In this article, we have explored 2D array in Numpy in Python. Numpy is a Python library for numerical computations and has a good support for multi-dimensional arrays.
Software Engineering Web application to upload a Word document and convert it to PDF file In this article you will learn how to develop a web application in Node.JS where you can upload your word document and can download a PDF version of your document.
Software Engineering Reverse a large file using IO Syscalls (using chunks) In this article, we have used different system calls (syscalls) in order to reverse a large file (>1GB) using a chunk size rather than character by character. We have demonstrated this with a C code.
Algorithms Find the longest increasing subsequence using Fenwick Tree You are given an array of length N. You have to find the longest increasing subsequence from the given array. We will try to solve this problem using Fenwick Tree which will take O(N logN) time complexity.
Machine Learning (ML) Hidden Layers Hidden layers are one of the most important parts of Neural Networks. The input layer contains input neurons that send information to the hidden layer. The hidden layer sends data to the output layer.
Software Engineering Everything about Constructors in C++ A constructor is a special member function which enables the object of a class to initialize itself when it is created. We have explored different types of constructors, constructor overloading and constructor with default arguments.
Software Engineering Different ways to unzip a file in Python When working with archived files there are various ways in which you can unzip your file. In this article we will learn how to extract single or multiple files from a zip file, unzip the whole file etc.
Software Engineering zipfile module in Python We have explored zipfile module in Python in depth. It is used for all operations related to ZIP file and used to create such ZIP files.
Software Engineering Creating archive for larger files in Python In this article, you will learn how to use the functionality provided by Python modules to get the size of a file, recursively traversing the directories and creating a directory,creating writing to a file,creating an archive of files.
Machine Learning (ML) Understanding Neural Networks Through Deep Visualization by Jason Yosinski This article explains the advanced techniques proposed by Jason Yosinski to understand the hidden working pattern of Neural Networks in the paper "Understanding Neural Networks Through Deep Visualization".
Software Engineering Huffman coding vs Shannon Fano Algorithm Huffman coding and Shannon Fano Algorithm are two data encoding algorithms and in this article, we have explored the differences between the two algorithms in detail.
Software Engineering Types of Data Encoding Algorithms We have explored the types of Data Encoding algorithms. Data Encoding is the process of conversion of data in a form suitable for various types of information processing. Encoding is used for data transmissions, data storage, and data compression.
Software Engineering Working with filecmp in Python Filecmp module in Python involves simple operations and data types (loops and lists) that can be replicated in any programming language. filecmp just simplifies and shortens your code by taking care of the logic for you.
Algorithms Find Maximum Perimeter of a Triangle Given an array of integers, find which three elements form a non-degenerate triangle such that the triangle has maximum perimeter. This can be done using a Greedy algorithm by sorting the array of integers.
Algorithms Make N numbers equal by incrementing N-1 numbers Given an array, find the minimum number of operations to make all the array elements equal. The operation includes incrementing all but one element of the array by 1.
Algorithms Distributing Candies equally In this problem, we need to candies from N boxes each of which has different number of candies across K friends. This problem can be solved using Binary Search.
Machine Learning (ML) Adversarial examples in the Physical world In this article, we have explored a paper “Adversarial examples in the Physical world” by Alexey Kurakin, Ian J. Goodfellow and Samy Bengio which presents such examples and methods to create such examples.
Software Engineering Introduction to I/O System call, file descriptor and modes in C In this article, we shall learn the basics of I/O syscalls, file descriptors and modes in C. System calls include open. close. creat and more.
Software Engineering Grid Positioning in CSS CSS grid is a layout system which provide us to create responsive website in a easy way. As flexbox is designed for 1D layout either in row or column but with grid we can create 2D layout - row and columns at the same time. This article is created to help you to understand grid system in better way.
Data Structures Binary Space Partitioning Trees Binary Space Partitioning Trees is a method of recursively subdividing a space into two convex sets by using hyperplanes as partitions. The resulting data structure is a binary tree, and the two subplanes are referred to as front and back.
Machine Learning (ML) Bayesian Belief Networks This article covers: Prerequisite Probability concepts for Bayesian Belief Networks(BBNs), BBN components: Directed Acyclic Graph and Conditional Probability Table and implementation example in Python.