Practicing Machine Learning Interview Questions in Python
Lisa Stuart
Data Scientist
Function | returns |
---|---|
sns.boxplot(x= , y='Loan Status') |
boxplot conditioned on target variable |
sns.distplot() |
histogram and kernel density estimate (kde) |
np.abs() |
returns absolute value |
stats.zscore() |
calculated z-score |
mstats.winsorize(limits=[0.05, 0.05]) |
floor and ceiling applied to outliers |
np.where(condition, true, false) |
replaced values |
scikit-learn.preprocessing.StandardScaler()
--> (mean=0, sd=1)sklearn.preprocessing.MinMaxScaler()
--> (0,1)How should outliers be identified and properly dealt with? What result does min/max or z-score standardization have on data? Select the statement that is true:
How should outliers be identified and properly dealt with? What result does min/max or z-score standardization have on data? The correct answer is:
How should outliers be identified and properly dealt with? What result does min/max or z-score standardization have on data?
Practicing Machine Learning Interview Questions in Python