def string_to_floats(input_string):
    """Convert comma-separated floats in string form to list of floats.

    Parameters
    ----------
    input_string : string
        Comma-separated floats values encoded as a string.

    Returns
    -------
    list of floats
        Returns converted list of floats.

    """
    return [float(x) for x in input_string.split(',')]