What is the Vanishing Gradient Problem?

Posted by & General

data science

The Vanishing Gradient Problem appears in Neural Networks when you train a NN using Gradient Descent, the gradients tend to get smaller and smaller as we keep on moving backward in a NN. Basically in a Neural Network, after the forward propagation ends, the gradient is not providing meaningful information back to the first layers… Read more »

bind() function in JavaScript

Posted by & JavaScript


bind() method creates a new function, when called has its this keyword set to the provided value Let’s have a look at a sample code, on how to use the bind() function: const person = { age: 20, getAge: function() { return this.age; } } const unBoundedGetAge = person.getAge; console.log(unBoundedGetAge()) If we run the code,… Read more »

call() function in JavaScript

Posted by & JavaScript


call() or Function.prototype.call() method calls a function with a given this value and arguments. Let’s have a look at an example how to use call() method: function Product(name, price) { this.name = name; this.price = price; } function Food(name, price) { Product.call(this, name, price); this.category = ‘food’; } console.log(new Food(‘cheese’, 5).name); Output: cheese apply() or… Read more »

TestCafe in 5 minutes

Posted by & General


What is TestCafe Tool? TestCafe is a pure Node.js End to End Solution built for testing web apps. It provides all the functionality you need to start the browser, run the tests, collect the results, and debug potential failures in a very easy way. Is TestCafe free? TestCafe framework is open source, hosted on GitHub… Read more »

NodeJS One Line Code Snippets

Posted by & Node.js


How to Install NVM (Node Version Manager) curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash How to Install Node.js with NVM? nvm install v12.18.0 How to Set the Default Node.js version with nvm? nvm alias default v12.18.0 How to Pass command line (CLI) arguments to a Node.js app? process.argv.forEach((val, index) => { console.log(`${index}: ${val}`); }); node process-args.js one… Read more »