From 7c03caf0f21df34cef78e2c208cb49aa3630c27c Mon Sep 17 00:00:00 2001 From: Alejandro Moreo Date: Fri, 3 Oct 2025 17:13:18 +0200 Subject: [PATCH] merged and clean --- testing_refactor.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 testing_refactor.py diff --git a/testing_refactor.py b/testing_refactor.py deleted file mode 100644 index c73d31c..0000000 --- a/testing_refactor.py +++ /dev/null @@ -1,26 +0,0 @@ -from sklearn.linear_model import LogisticRegression -import quapy as qp -from method.aggregative import * - -datasets = qp.datasets.UCI_MULTICLASS_DATASETS[1] -data = qp.datasets.fetch_UCIMulticlassDataset(datasets) -train, test = data.train_test - -Xtr, ytr = train.Xy -Xte = test.X - -quant = EMQ(LogisticRegression(), calib='bcts') -quant.fit(Xtr, ytr) -prev = quant.predict(Xte) - -print(prev) -post = quant.predict_proba(Xte) -print(post) -post = quant.classify(Xte) -print(post) - -# AggregativeMedianEstimator() - - -# test CC, prevent from doing 5FCV for nothing -# test PACC o PCC with LinearSVC; removing "adapt_if_necessary" form _check_classifier \ No newline at end of file