How to add Class Colors and Legend to Scatterplots
Assume that you want to create a scatter plot and to add a color based on the class and finally …
Assume that you want to create a scatter plot and to add a color based on the class and finally …
In probability theory, the birthday problem or birthday paradox concerns the probability that, in a set of n randomly chosen people, some pair of them will have the same birthday. In …
You can encounter this type of questions during the interview process for Data Scientist positions. So the question can be …
Read moreHow to estimate the Standard Deviation of Normal Distribution
Let’s say that you want to simulate 10 observations from 3 normal distributions with different parameters mean and standard deviation. …
In Data Science project, it is common to replace the missing values of the categorical variables with the mode. Let’s …
Assume that you are dealing with a Data Frame with missing values, and you want to replace them with the …
Read moreReplace Missing Values with the mean value of the column in R
Let’s see how we can get the column-wise correlation between two data frames in R and in Python. Actually in …
Have you ever encountered this annoying symbol called BOM (ï..) in the first column of your data frame after you …
Read moreHow to remove the ï.. appear in the first column in read.csv in R
When we get the Datetime of the events, we can generate some features for the Machine Learning Models. For example …
Dplyr allows us to join two data frames on more than a single column. All you have to do is …