The diabetes data we're using here is different than Python's built-in data, so please load it as shown below (like we've done before). In both cases, use OLS.py as the main file that defines all of the RBF functions - See how to use them by using WineApp0.py as a template. import scipy.io as sio #Load dataset mat_contents=sio.loadmat("diabetes.mat") X=mat_contents['X'] # X is 768 x 8 T=mat_contents['T'] # T is 768 x 2 (columns of the identity for classification)