k-Nearest Neighbour (kNN)

The nearest possible value by input (aka k)

from sklearn.neighbors import KNeighborsRegressor
X = [[0], [1], [1.2], [2], [3]]
y = [0, 0, 1, 1]

neigh = KNeighborsRegressor(n_neighbors=2)
neigh.fit(X, y)
print(neigh.predict([[1.5]]))

Result

Learning Vector Quantization (LVQ)

Self-Organizing Map (SOM)

Locally Weighted Learning (LWL)