CMSC_828C_Project1/bayes.py
def load(self, folder_path, data_type):
        """
        This function loads the data-set
        :param folder_path: path to data-set folder
        :param data_type: train or test data
        :return: data and labels
        """
        train_data, test_data = mnist_reader.load_mnist(folder_path, kind=data_type)
        return train_data, test_data

        This function loads the data-set
        :param folder_path: path to data-set folder
        :param data_type: train or test data
        :return: data and labels
        
This function loads the data-set
This function loads the data - set
def load(self, folder_path, data_type):
        train_data, test_data = mnist_reader.load_mnist(folder_path, kind=data_type)
        return train_data, test_data
def load ( self , folder_path , data_type ) : train_data , test_data = mnist_reader . load_mnist ( folder_path , kind = data_type ) return train_data , test_data
This function loads the data-set
This function loads the data - set
"""
        This function loads the data-set
        :param folder_path: path to data-set folder
        :param data_type: train or test data
        :return: data and labels
        """
data and labels
data and labels
self
folder_path
path to data-set folder
path to data - set folder
data_type
train or test data
train or test data