KKKaustubh Kulkarniinkaustubhk.hashnode.dev·Sep 23, 2024 · 3 min readBias-Variance Trade-offIn machine learning, the bias-variance trade-off is a fundamental concept used to evaluate the performance of a model. It helps explain the sources of error in predictions. The total error (expected loss) of a model can be decomposed into three compo...00
KKKaustubh Kulkarniinkaustubhk.hashnode.dev·Sep 22, 2024 · 3 min readk nearest neighbor regressionLengthWeightCost 101545 11637 121448 7933 91438 81240 61135 151050 14846 71235 10636 13844 9732 5830 51030 Dataset for K-NN Regression In the above dataset, we have 15 data points. The dataset contains the length and weight of meta...00
KKKaustubh Kulkarniinkaustubhk.hashnode.dev·Sep 20, 2024 · 2 min readBias in k-NN classifierIn the case of K-nearest neighbors (KNN) classifiers, the bias typically increases as the value of K increases. Here's why: When K is small (e.g., K=1), the model tends to overfit the training data, as it is highly sensitive to noise and anomalies. ...00
KKKaustubh Kulkarniinkaustubhk.hashnode.dev·Sep 18, 2024 · 1 min readPolicy in Reinforcement LearningIn reinforcement learning, a policy is a function or strategy that determines the action an agent should take given a particular state. It essentially maps states to actions, guiding the agent’s behaviour in the environment. The policy can be determi...00
KKKaustubh Kulkarniinkaustubhk.hashnode.dev·Sep 18, 2024 · 1 min readOverfitting and Training ErrorHere is a 2-dimensional plot showing two functions that classify data points into two classes. The red points belong to one class, and the green points belong to another. The dotted blue line (F1) and dashed pink line (F2) represent the two trained f...00