Useful tips for everyday
What is internal and external validation? When others validate your feelings, this is known as external validation. When you validate yourself and shift from positive…
Is time ever a dependent variable? Time is always the independent variable. The other variable is the dependent variable (in our example: time is the…
How do you calculate odds ratio and relative risk? The relative risk (RR) is the probability that a member of an exposed group will develop…
What does per 100 person years mean? “Person-years” is a statistic for expressing incidence rates—it is the summing of the results of events divided by…
What are atoms in probability? Purely atomic means that there is a sequence of atoms such that the sum of their probabilities is 1. If…
What is population mean and population variance? Population variance (σ2) tells us how data points in a specific population are spread out. It is the…
How to handle class imbalanced data using loss specifically made for it? Above lines of code is a simple implementation of getting weights and normalising…
Does gradient descent use backpropagation? This is done using gradient descent (aka backpropagation), which by definition comprises two steps: calculating gradients of the loss/error function,…
In which case decision tree performs better than random forest? Two intuitive reasons illustrated. Random forests consist of multiple single trees each based on a…
How do you interpret dissimilarity matrix? The dissimilarity matrix (also called distance matrix) describes pairwise distinction between M objects. It is a square symmetrical MxM…