The repository contains linear regression model training for economic income and consumption using sklearn and data visualization with matplotlib.
Functions in the code are:
def evaluateModel(self, model, test_data, features, labels) # evaluate model
def visualizeModel(self, model, data, feature_names, label_names, error, score) # visualize model
def trainModel(self, train_data, feature_names, label_names) # train model
def linearModel(self, data, feature_names, label_names, split_ratio) # entry
def readData(self, path) # read data from csv file