Training Python
Training Python
• Supervised learning is where you have input variables (x) and an output
variable (Y) and you use an algorithm to learn the mapping function
from the input to the output. Example: Y = f(X)
• It can be further grouped into Regression and Classification problems.
v. Residual Analysis
• No correlation between the residual
(error) terms
• How to check: Look for Durbin -
Watson (DW) statistic. It must lie
between 0 and 4. If DW = 2, implies
no autocorrelation, 0 < DW < 2
implies positive autocorrelation
while 2 < DW < 4 indicates negative
autocorrelation.
• No Heteroskedasticity (Homoscedasticity)
• If present then transform the
response variable such as log(Y) or
sqrt(Y) or BoxCox
• Normal Q-Q plot
4