model/load_data.py
def load_data_from_txt(self):
        """
        Load the data of all repos from the local txt files.

        Returns:
            load_pr_columns: A list of pull request level feature names.
            load_file_columns: A list of file level feature names.
            load_data_dict: A dict holds the CL data of all repos.
                The keys are the repo names and the values are the CL data.
        """
        load_data_dict = {}
        for repo in self.repos:
            with open('../data/%s_data.txt' % repo, 'r') as file:
                load_pr_columns = eval(file.readline())
                load_file_columns = eval(file.readline())
                lsts = []
                for line in file:
                    lst = eval(line)
                    lsts.append(lst)
                load_data_dict[repo] = lsts
        return load_pr_columns, load_file_columns, load_data_dict

        Load the data of all repos from the local txt files.

        Returns:
            load_pr_columns: A list of pull request level feature names.
            load_file_columns: A list of file level feature names.
            load_data_dict: A dict holds the CL data of all repos.
                The keys are the repo names and the values are the CL data.
        
Load the data of all repos from the local txt files.
Load the data of all repos from the local txt files .
def load_data_from_txt(self):
        load_data_dict = {}
        for repo in self.repos:
            with open('../data/%s_data.txt' % repo, 'r') as file:
                load_pr_columns = eval(file.readline())
                load_file_columns = eval(file.readline())
                lsts = []
                for line in file:
                    lst = eval(line)
                    lsts.append(lst)
                load_data_dict[repo] = lsts
        return load_pr_columns, load_file_columns, load_data_dict
def load_data_from_txt ( self ) : load_data_dict = { } for repo in self . repos : with open ( '../data/%s_data.txt' % repo , 'r' ) as file : load_pr_columns = eval ( file . readline ( ) ) load_file_columns = eval ( file . readline ( ) ) lsts = [ ] for line in file : lst = eval ( line ) lsts . append ( lst ) load_data_dict [ repo ] = lsts return load_pr_columns , load_file_columns , load_data_dict
Load the data of all repos from the local txt files.
Load the data of all repos from the local txt files .
"""
        Load the data of all repos from the local txt files.

        Returns:
            load_pr_columns: A list of pull request level feature names.
            load_file_columns: A list of file level feature names.
            load_data_dict: A dict holds the CL data of all repos.
                The keys are the repo names and the values are the CL data.
        """
A list of pull request level feature names.
load_file_columns: A list of file level feature names.
load_data_dict: A dict holds the CL data of all repos.
The keys are the repo names and the values are the CL data.
A list of pull request level feature names . load_file_columns : A list of file level feature names . load_data_dict : A dict holds the CL data of all repos . The keys are the repo names and the values are the CL data .
load_pr_columns
self