def train(self, values_labels, **kwargs):
        """

        :Returns:
            A dictionary with the fields:

            * seconds_elapsed -- Time in seconds spent fitting the model
        """
        start = time.time()

        if self.scaler is not None:
            values, labels = zip(*values_labels)
            values = self.scaler.fit_transform(values)
            values_labels = zip(values, labels)

        if self.balanced_sample:
            values_labels = util.balance_sample(values_labels)

        values, labels = zip(*values_labels)

        if self.balanced_sample_weight:
            sample_weight = util.balance_sample_weights(labels)
        else:
            sample_weight = None

        # Fit SVC model
        self.classifier_model.fit(values, labels, sample_weight=sample_weight,
                                  **kwargs)
        self.trained = time.time()

        return {
            'seconds_elapsed': time.time() - start
        }
dataset/ETHPy150Open wiki-ai/revscoring/revscoring/scorer_models/sklearn_classifier.py/ScikitLearnClassifier.train/original