Commit 0d472e39 authored by Anthony Larcher's avatar Anthony Larcher
Browse files

Refactoring

parent 457b3078
========
evALLIES
========
......@@ -8,8 +7,10 @@ evALLIES
:Authors:
Anthony Larcher
Meysam Shamsi
Yevhenii Prokopalo
:Version: 0.0.6 of 2020/08/14
:Version: 0.1.0 of 2020/11/23
# -* coding: utf-8 -*-
#
# This file is part of EVALLIES.
#
# EVALLIES is a python package for lifelong learning speaker diarization.
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies
#
# EVALLIES is free software: you can redistribute it and/or modify
# it under the terms of the GNU LLesser General Public License as
# published by the Free Software Foundation, either version 3 of the License,
# or (at your option) any later version.
#
# EVALLIES is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2020-2021 Anthony Larcher
:mod:`init`
"""
from .database import Database
......@@ -31,4 +57,4 @@ __maintainer__ = "Anthony Larcher"
__email__ = "anthony.larcher@univ-lemans.fr"
__status__ = "Production"
__docformat__ = 'reStructuredText'
__version__="0.0.6"
__version__="0.1.0"
#!/usr/bin/
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher, Olivier Galibert
:mod:`database`
"""
import os
import numpy as np
......
#!/bin/python
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher & Olivier Galibert
:mod:`der_cross`
"""
import numpy as np
from scipy.optimize import linear_sum_assignment
......
#!/bin/python
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher & Olivier Galibert
:mod:`der_run`
"""
import numpy as np
from scipy.optimize import linear_sum_assignment
......
#!/bin/python
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher & Olivier Galibert
:mod:`der_single`
"""
import numpy as np
from scipy.optimize import linear_sum_assignment
......
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher
:mod:`lium_baseline.__init__`
"""
from .idmap import IdMap
from .ndx import Ndx
from .plotwindow import PlotWindow
from .key import Key
from .scores import Scores
from .detplot import DetPlot
from .detplot import effective_prior
from .detplot import logit_effective_prior
from .detplot import fast_minDCF
__author__ = "Anthony Larcher"
__maintainer__ = "Anthony Larcher"
__email__ = "anthony.larcher@univ-lemans.fr"
__status__ = "Production"
__docformat__ = 'reStructuredText'
__credits__ = ["Anthony Larcher"]
#!/usr/bin/python
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher, Meysam Shamsi & Yevhenii Propkopalo
:mod:`lium_baseline.interactive`
"""
import copy
import numpy
......
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher, Meysam Shamsi & Yevhenii Propkopalo
:mod:`lium_baseline.system`
"""
import copy
import decimal
import fastcluster
......
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher, Meysam Shamsi & Yevhenii Propkopalo
:mod:`lium_baseline.utils`
"""
import copy
import numpy
import sidekit
......
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
###################################################################################
# #
# Copyright (c) 2019 Idiap Research Institute, http://www.idiap.ch/ #
# Contact: beat.support@idiap.ch #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions are met: #
# #
# 1. Redistributions of source code must retain the above copyright notice, this #
# list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, #
# this list of conditions and the following disclaimer in the documentation #
# and/or other materials provided with the distribution. #
# #
# 3. Neither the name of the copyright holder nor the names of its contributors #
# may be used to endorse or promote products derived from this software without #
# specific prior written permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE #
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE #
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, #
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE #
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
###################################################################################
# -* coding: utf-8 -*-
#################################################################################
# This file is part of EVALLIES. #
# #
# EVALLIES is a python package for lifelong learning speaker diarization. #
# Home page: https://git-lium.univ-lemans.fr/Larcher/evallies #
# #
# EVALLIES is free software: you can redistribute it and/or modify #
# it under the terms of the GNU LLesser General Public License as #
# published by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# EVALLIES is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>. #
# #
#################################################################################
"""
Copyright 2020-2021 Anthony Larcher & Olivier Galibert
:mod:`user_simulation`
"""
import numpy as np
from scipy.optimize import linear_sum_assignment
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment