Matlab and Python Codes for OLS Learning with Neural Network in Cobweb Model