def generate_dataset(triplets_filename, summary_filename="<STR_LIT>",<EOL>outputfilename="<STR_LIT>"):
data = _read_triplets_dataframe(triplets_filename)<EOL>track_info = _join_summary_file(data, summary_filename)<EOL>_hfd5_from_dataframe(data, track_info, outputfilename)<EOL>
Generates a hdf5 datasetfile from the raw datafiles:

    You will need to download the train_triplets from here:
        https://labrosa.ee.columbia.edu/millionsong/tasteprofile#getting
    And the 'Summary File of the whole dataset' from here
    https://labrosa.ee.columbia.edu/millionsong/pages/getting-dataset

    You shouldn't have to run this yourself, and can instead just download the
    output using the 'get_msd_taste_profile' funciton