HF RL Explorer

ML Algorithms from Scratch on Iris Dataset

ML Algorithms from Scratch on Iris Dataset: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Implement three core ML algorithms from scratch — k-Nearest Neighbors classification, Logistic Regression with gradient…

The task

Implement three core ML algorithms from scratch — k-Nearest Neighbors classification, Logistic Regression with gradient descent (using one-vs-rest for multiclass), and k-Fold Cross Validation — using only NumPy and Pandas. No ML libraries (such as sklearn) may be used for the algorithm implementations themselves.…

Part of ai-and/termgrade-bandcentral-gemma4-31b-bash.