def experiment_folder_name(filename, is_label_scene=False):
    """Return the name of the folder where the output data will be stored.

    - features extraction
    - clustering

    Parameters
    ----------
    fpath: str
        Input scene filename.
    is_label_scene: bool
        Is the file a sample of a complete scene with a '_label' suffix at the end of
        the filename?

    Returns
    -------
    str

    Examples
    --------
    >>> experiment_folder_name('location.las')
    'location'
    >>> experiment_folder_name('location_cliff.las', True)
    'location'
    """
    label_suffix_separator = '_'
    if not is_label_scene:
        return filename.split('.')[0]
    seq = filename.split(label_suffix_separator)
    return label_suffix_separator.join(seq[:-1])
