What is heteroscedasticity and why do interviewers ask about it?
Simple meaning
Heteroscedasticity means residual variance changes with x or with the predicted value.
Open the full page for Why, Steps, Example and Key takeaway.
Panel-ready AI & Data Analytics questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.
Heteroscedasticity means residual variance changes with x or with the predicted value.
Open the full page for Why, Steps, Example and Key takeaway.
It minimizes log loss, which is the negative log likelihood of a Bernoulli model.
Open the full page for Why, Steps, Example and Key takeaway.
One-vs-rest fits a binary model per class.
Open the full page for Why, Steps, Example and Key takeaway.
5 only matches equal costs and a well-calibrated model with balanced classes.
Open the full page for Why, Steps, Example and Key takeaway.
It struggles with strongly nonlinear decision surfaces unless you add interactions or basis functions.
Open the full page for Why, Steps, Example and Key takeaway.
Pruning removes branches that add little validated gain so the tree does not memorize noise.
Open the full page for Why, Steps, Example and Key takeaway.
A feature with many levels can create many pure-looking splits by chance.
Open the full page for Why, Steps, Example and Key takeaway.
ID3 uses information gain and likes categorical splits.
Open the full page for Why, Steps, Example and Key takeaway.
Yes, order-preserving transforms such as log or min-max usually leave the split sequence unchanged for a single tree.
Open the full page for Why, Steps, Example and Key takeaway.
Each tree is trained on a bootstrap sample, so some rows are left out of that tree.
Open the full page for Why, Steps, Example and Key takeaway.
A smaller feature subset at each split makes trees more diverse and usually lowers correlation among them.
Open the full page for Why, Steps, Example and Key takeaway.
Impurity importance favors high-cardinality and correlated features.
Open the full page for Why, Steps, Example and Key takeaway.
Extremely randomized trees pick split thresholds more randomly, not just the feature subset.
Open the full page for Why, Steps, Example and Key takeaway.
Gradient boosting fits each new tree to the gradient of the loss with respect to the current ensemble prediction.
Open the full page for Why, Steps, Example and Key takeaway.
The learning rate shrinks each new tree's contribution so later trees correct more gently.
Open the full page for Why, Steps, Example and Key takeaway.
AdaBoost reweights training rows so misclassified points get more attention in the next weak learner.
Open the full page for Why, Steps, Example and Key takeaway.
Boosting keeps chasing remaining train error, so extra rounds can fit noise.
Open the full page for Why, Steps, Example and Key takeaway.
C trades off margin width against training mistakes.
Open the full page for Why, Steps, Example and Key takeaway.
Both are linear classifiers.
Open the full page for Why, Steps, Example and Key takeaway.
RBF SVMs scale badly with n because they depend on many support vectors.
Open the full page for Why, Steps, Example and Key takeaway.