def compute_elapsed_seconds(elapsed):
    return (elapsed.days * 60 * 60 * 24 +
            elapsed.seconds + elapsed.microseconds / 1.0e6)
Dump the dataset in svmlight / libsvm file format.
dataset/ETHPy150Open everett-wetchler/okcupid/FetchProfiles.py/compute_elapsed_seconds--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/datasets/svmlight_format.py/dump_svmlight_file