def load_attribute_from_file(file_path: str):
    """
    Loads attribute from file.

    :param file_path: path to file
    :return: list of attributes
    """
    attributes = []
    with open(file_path) as f:
        for line in f:
            attributes.append(list(map(float, line.split())))
    return attributes