From 5c7fbb255427411cdb25b715f8e457b36d1885c8 Mon Sep 17 00:00:00 2001 From: Lorenzo Volpi Date: Mon, 6 Nov 2023 02:00:06 +0100 Subject: [PATCH] cross_val_predict fix added --- quapy/model_selection.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quapy/model_selection.py b/quapy/model_selection.py index 081f2f4..f02d9dc 100644 --- a/quapy/model_selection.py +++ b/quapy/model_selection.py @@ -1,17 +1,17 @@ import itertools import signal from copy import deepcopy -from time import time -from typing import Callable, Union +from typing import Union, Callable import numpy as np from sklearn import clone import quapy as qp from quapy import evaluation +from quapy.protocol import AbstractProtocol, OnLabelledCollectionProtocol from quapy.data.base import LabelledCollection from quapy.method.aggregative import BaseQuantifier -from quapy.protocol import AbstractProtocol, OnLabelledCollectionProtocol +from time import time class GridSearchQ(BaseQuantifier):