Useful tips for everyday
What difference does batch size make? larger batch sizes make larger gradient steps than smaller batch sizes for the same number of samples seen. for…
How many leaves does the decision tree have? The tree grows to a fully to a depth of five. There are eight nodes and nine…
How do you match an integer in regex? To match any number from 0 to 9 we use \d in regex. It will match any…
Can you cluster images? Yes! K-Means Clustering can be used for Image Classification of MNIST dataset. Here’s how. K-means clustering is an unsupervised learning algorithm…
How is permutation feature important? How to use Permutation Feature Importance Add the Permutation Feature Importance module to your pipeline. Connect a trained model to…
How many training examples does one shot learning require? On the other hand, in a one shot classification, we require only one training example for…
Is more cores better for deep learning? Deep learning mostly takes advantage of tons of smaller cores rather than only a few very fast ones.…
What is Tensordot in Python? Numpy tensordot() is used to calculate the tensor dot product of two given tensors. If we have given two tensors…
How does keras evaluate test data? Keras can separate a portion of your training data into a validation dataset and evaluate the performance of your…
Why do we accumulate gradients? Gradient accumulation is a mechanism to split the batch of samples — used for training a neural network — into…