Skip to main content

Posts

Showing posts with the label Interview

Intro to Generative Adversarial Networks | GANs 001

   GANs consist of three terms Generative Adversarial Network. Let's understand these three terms first. Generative : A Generative Model takes input training sample from some distribution and learns to represents that distribution. Adversarial : It basically means Conflicting or Opposing. Networks : These are basically neural networks. So,Generative Adversarial Networks are deep neural network architecture comprising of two neural networks compete with each other to make a generative model. A GAN consist of two class models : Discriminative Model :- It is the one that discriminate between two different classes of data.It tries to identify real data from fakes created by the generator Generative Model :- The Generator turns noise into an imitation of the data to try to trick the discriminator Mathematically, A Generative Model 'G' to be trained on training data 'X' sampled from some true distribution 'D' is the one which, given some standard random distrib

Frequently Asked Python Interview Questions - 2 | 2021

What is the difference between List and Tuple in Python?   A list can hold ordered sets of all data types in Python (including another list). A list's elements can be modified after creation. The implication of iterations is time-consuming in the list. Operations like insertion and deletion are better performed and consumes more memory. They are mutable The tuple type is very similar to the list type but the elements cannot be modified after creation (similar to strings). Implications of iterations are much faster in tuples. Elements can be accessed better and consumes less memory.They are immutable. What type of language is Python? Python is a dynamically typed interpreted language. These types of languages are typically referred to as “scripting” languages because code is not compiled to a binary form. By dynamically typed I mean that types do not need to be declared when coding, the interpreter figures them out at runtime. Python is neither a true compiled time nor pure

Frequently Asked Python Interview Questions | 2021

  Python is a high level,general-purpose programming language. It is a popular programming language used for web development, software development, machine learning etc. It is dynamically typed and garbage-collected. Easy to read and understand. WHAT IS DYNAMICALLY TYPED LANGUAGE ? It is one of the behaviors of high-level programming language to check the type of data stored in a variable during the execution. In programming languages such as C, we must declare the type of data before using it. Python does not require any declaration of the data type. The Python interpreter will know the data type when we assign a value to a variable. This is why python is known as dynamically typed language. WHAT IS PEP8 ? Python is know for its readability. In most cases we can understand the python code better than any other programming languages. Writing beautiful and readable code is an art. PEP8 is an official style guide given by the community to improve the readability to the top. PEP8 enables