def creep_data(data_set='<STR_LIT>'):
if not data_available(data_set):<EOL><INDENT>download_data(data_set)<EOL>path = os.path.join(data_path, data_set)<EOL>tar_file = os.path.join(path, '<STR_LIT>')<EOL>tar = tarfile.open(tar_file)<EOL>print('<STR_LIT>')<EOL>tar.extractall(path=path)<EOL>tar.close()<EOL><DEDENT>all_data = np.loadtxt(os.path.join(data_path, data_set, '<STR_LIT>'))<EOL>y = all_data[:, <NUM_LIT:1>:<NUM_LIT:2>].copy()<EOL>features = [<NUM_LIT:0>]<EOL>features.extend(range(<NUM_LIT:2>, <NUM_LIT>))<EOL>X = all_data[:, features].copy()<EOL>return data_details_return({'<STR_LIT:X>': X, '<STR_LIT:y>': y}, data_set)<EOL>
Brun and Yoshida's metal creep rupture data.