Skip to content
Snippets Groups Projects
Commit 8b551cc9 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

it is better to call super().__init__(**kwargs) first

parent 5d6c4ddc
No related branches found
No related tags found
1 merge request!33Fixes due to API changes in bob.bio.base
Pipeline #59963 failed
......@@ -111,6 +111,7 @@ class GMM(BioAlgorithm, BaseEstimator):
scoring_function
Function returning a score from a model, a UBM, and a probe.
"""
super().__init__(**kwargs)
# Copy parameters
self.number_of_gaussians = number_of_gaussians
......@@ -140,7 +141,6 @@ class GMM(BioAlgorithm, BaseEstimator):
self.ubm = None
super().__init__(**kwargs)
def _check_feature(self, feature):
"""Checks that the features are appropriate"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment