INTERNATIONAL JOURNAL OF INTELLIGENT SYSTEMS AND DATA SCIENCE

An Algorithmic and Computational Exposition of Parametric and Centroidal Learners in Python

1.lindsey wilson university

Published in issue

November 2026

Volume / Issue

Vol. 1 No. 6

Access

Open access

View PDF

The article details presented on this page reflect the published version of record. Readers may access the full-text PDF, review the citation information, and export the reference in supported citation formats.

Abstract

This paper presents a didactic, implementation-focused exploration of two foundational learning paradigms within artificial intelligence. We first examine a parametric supervised learner, constructing a linear hypothesis through ordinary least squares estimation, and derive its closed-form solution manually from a defined training set. The second paradigm is a centroid-based unsupervised partitioning algorithm, implemented via Lloyd's iterative refinement to minimize intra-cluster variance. Both algorithms are realized from first principles in Python, utilizing NumPy for numerical computation and matplotlib for spatial and relational visualization. The exposition illustrates the direct translation of mathematical formulations into executable NumPy code for two foundational algorithms. Complete source code is provided for pedagogical reproducibility.
Keywords:Pythonalgorithmic implementation.Machine learninglinear regressionK-means clusteringNumPyLinear RegressionMachine LearningK-means ClusteringAlgorithmic Implementation

Cite this Article

Use the following citation when referencing this publication in academic or professional work.

S. Vangala, "An Algorithmic and Computational Exposition of Parametric and Centroidal Learners in Python", Int. J. Intell. Syst. Data Sci., vol. 1, no. 6, Nov. 2026, doi: https://doi.org/10.67231/4ye5vh86.

DOWNLOAD CITATION